Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.1 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.2 MB / 214.1 MB, free: 5.082 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 87.27 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1688/0.1697, allocations: 52.96 MB / 315 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07078/0.2404, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.4806, allocations: 88.75 MB / 451.4 MB, free: 7.758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4809, allocations: 66.12 kB / 451.4 MB, free: 7.75 MB / 314.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.09672/0.5776, allocations: 36.08 MB / 487.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.5777, allocations: 12 kB / 487.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5779, allocations: 51.44 kB / 487.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.5787, allocations: 458.8 kB / 488 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.5787, allocations: 8 kB / 488 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.5788, allocations: 12 kB / 488.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002815/0.5791, allocations: 130.2 kB / 488.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.5796, allocations: 311 kB / 488.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5797, allocations: 0 / 488.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.5797, allocations: 4 kB / 488.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.5797, allocations: 8.641 kB / 488.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.581, allocations: 0.6357 MB / 489.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.5816, allocations: 304 kB / 489.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.5818, allocations: 105.4 kB / 489.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.5818, allocations: 4.094 kB / 489.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.5818, allocations: 46.31 kB / 489.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.5818, allocations: 0 / 489.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004928/0.5823, allocations: 273.8 kB / 489.9 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.5825, allocations: 363.8 kB / 490.2 MB, free: 120 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.5829, allocations: 338.1 kB / 490.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.583, allocations: 25.7 kB / 490.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5831, allocations: 151.5 kB / 490.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.5832, allocations: 78.52 kB / 490.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.5832, allocations: 0 / 490.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5834, allocations: 358 kB / 491.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.5837, allocations: 193.8 kB / 491.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.5841, allocations: 298.6 kB / 491.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.5846, allocations: 234.3 kB / 491.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5846, allocations: 0 / 491.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00115/0.5858, allocations: 0.6318 MB / 492.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5858, allocations: 8 kB / 492.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/0.5858, allocations: 15.17 kB / 492.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.5863, allocations: 117.4 kB / 492.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.5866, allocations: 71.58 kB / 492.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5866, allocations: 0 / 492.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5868, allocations: 43.44 kB / 492.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.5868, allocations: 23.42 kB / 492.8 MB, free: 13.93 MB / 346.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 0.0001186/0.5869, allocations: 108.9 kB / 492.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.587, allocations: 35.53 kB / 492.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.5871, allocations: 44.25 kB / 492.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5871, allocations: 3.906 kB / 492.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5871, allocations: 0 / 492.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5871, allocations: 7.984 kB / 492.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.5875, allocations: 307.6 kB / 493.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5875, allocations: 0 / 493.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.5878, allocations: 47.84 kB / 493.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.5878, allocations: 4 kB / 493.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5879, allocations: 4 kB / 493.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5879, allocations: 0 / 493.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5879, allocations: 0 / 493.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006105/0.5885, allocations: 0.4929 MB / 493.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000891/0.5894, allocations: 0.9985 MB / 494.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.5895, allocations: 112.5 kB / 494.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.5896, allocations: 19.36 kB / 494.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5898, allocations: 7.984 kB / 494.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.5898, allocations: 11.98 kB / 494.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.5898, allocations: 4 kB / 494.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002345/0.5901, allocations: 254.1 kB / 495.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003255/0.5933, allocations: 0.6877 MB / 495.9 MB, free: 11.07 MB / 346.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.003199/0.5966, allocations: 0.705 MB / 496.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.5977, allocations: 0.8442 MB / 497.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5978, allocations: 0 / 497.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.5979, allocations: 117.3 kB / 497.5 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.5984, allocations: 93.14 kB / 497.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.5999, allocations: 0.7344 MB / 498.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.6004, allocations: 0.898 MB / 499.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6005, allocations: 0 / 499.3 MB, free: 7.758 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1)