Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 183.5 kB / 8.135 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.000961, allocations: 96.69 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09329/0.09428, allocations: 55.81 MB / 336.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.2744, allocations: 50.39 MB / 387 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08881/0.3633, allocations: 89.54 MB / 476.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.3635, allocations: 72.59 kB / 476.6 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.2308/0.5943, allocations: 36.25 MB / 0.5008 GB, free: 91.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.5944, allocations: 7.438 kB / 0.5008 GB, free: 91.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.5945, allocations: 46.19 kB / 0.5009 GB, free: 91.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.5951, allocations: 457 kB / 0.5013 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.5951, allocations: 3.719 kB / 0.5013 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.5952, allocations: 21.25 kB / 0.5013 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.5954, allocations: 133.7 kB / 0.5015 GB, free: 90.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.5957, allocations: 301.7 kB / 0.5018 GB, free: 90.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.5957, allocations: 4.281 kB / 0.5018 GB, free: 90.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5957, allocations: 0 / 0.5018 GB, free: 90.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5957, allocations: 3.719 kB / 0.5018 GB, free: 90.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/0.5966, allocations: 0.6469 MB / 0.5024 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.5971, allocations: 302.8 kB / 0.5027 GB, free: 90.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5972, allocations: 104 kB / 0.5028 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.5972, allocations: 192 / 0.5028 GB, free: 90.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5972, allocations: 39.41 kB / 0.5028 GB, free: 90.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.5972, allocations: 0 / 0.5028 GB, free: 90.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003743/0.5976, allocations: 278.5 kB / 0.5031 GB, free: 90.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.5977, allocations: 370.2 kB / 0.5034 GB, free: 89.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.598, allocations: 334.2 kB / 0.5038 GB, free: 89.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.598, allocations: 25.7 kB / 0.5038 GB, free: 89.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.5981, allocations: 143.5 kB / 0.5039 GB, free: 89.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.5981, allocations: 83.98 kB / 0.504 GB, free: 89.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.5981, allocations: 0 / 0.504 GB, free: 89.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.5982, allocations: 361.3 kB / 0.5043 GB, free: 89.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.5984, allocations: 188.5 kB / 0.5045 GB, free: 89.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.5987, allocations: 310.7 kB / 0.5048 GB, free: 89.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.5991, allocations: 235.1 kB / 0.505 GB, free: 89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5991, allocations: 3.75 kB / 0.505 GB, free: 89 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009049/0.6, allocations: 0.6205 MB / 0.5057 GB, free: 88.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6, allocations: 7.656 kB / 0.5057 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.6, allocations: 12.38 kB / 0.5057 GB, free: 88.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.6004, allocations: 123.8 kB / 0.5058 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.6007, allocations: 68.89 kB / 0.5059 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6007, allocations: 3.938 kB / 0.5059 GB, free: 88.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6009, allocations: 38.72 kB / 0.5059 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.6009, allocations: 18.97 kB / 0.5059 GB, free: 88.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/0.601, allocations: 117.9 kB / 0.506 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.136e-05/0.6011, allocations: 42.09 kB / 0.5061 GB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.075e-05/0.6012, allocations: 42.77 kB / 0.5061 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6012, allocations: 0 / 0.5061 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6012, allocations: 0 / 0.5061 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6012, allocations: 4.781 kB / 0.5061 GB, free: 88.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.6015, allocations: 315.1 kB / 0.5064 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6015, allocations: 3.656 kB / 0.5064 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.6018, allocations: 39.45 kB / 0.5065 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6018, allocations: 3.938 kB / 0.5065 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.6019, allocations: 15.09 kB / 0.5065 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6019, allocations: 0.75 kB / 0.5065 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6019, allocations: 0 / 0.5065 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000493/0.6024, allocations: 498.7 kB / 0.5069 GB, free: 88.09 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006398/0.603, allocations: 1.005 MB / 0.5079 GB, free: 87.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.6031, allocations: 119.6 kB / 0.508 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.6032, allocations: 3.906 kB / 0.508 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.6034, allocations: 11.84 kB / 0.5081 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.6034, allocations: 15.22 kB / 0.5081 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.6034, allocations: 7.75 kB / 0.5081 GB, free: 87.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001765/0.6036, allocations: 248.5 kB / 0.5083 GB, free: 87.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002565/0.6062, allocations: 0.689 MB / 0.509 GB, free: 87.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.6075, allocations: 0.7138 MB / 0.5097 GB, free: 86.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007341/0.6082, allocations: 0.8369 MB / 0.5105 GB, free: 86.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6082, allocations: 3.562 kB / 0.5105 GB, free: 86.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.6084, allocations: 111.2 kB / 0.5106 GB, free: 86.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.6088, allocations: 91.19 kB / 0.5107 GB, free: 86.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6099, allocations: 0.7302 MB / 0.5114 GB, free: 85.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.6102, allocations: 0.9048 MB / 0.5123 GB, free: 85.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6102, allocations: 0 / 0.5123 GB, free: 85.25 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1)