Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00136/0.00136, allocations: 207 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001093/0.001093, allocations: 99.67 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1296/0.1308, allocations: 56.89 MB / 343.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.2443, allocations: 51.47 MB / 394.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.5536, allocations: 90.34 MB / 485 MB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.5539, allocations: 71.53 kB / 485.1 MB, free: 3.27 MB / 346.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.1043/0.6582, allocations: 36.37 MB / 0.5093 GB, free: 3.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6583, allocations: 12 kB / 0.5093 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.6585, allocations: 43.44 kB / 0.5093 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.6594, allocations: 458.2 kB / 0.5097 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.6594, allocations: 4 kB / 0.5098 GB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.6595, allocations: 23.38 kB / 0.5098 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002717/0.6598, allocations: 132.7 kB / 0.5099 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.6602, allocations: 310.4 kB / 0.5102 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6603, allocations: 0 / 0.5102 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.6603, allocations: 3.938 kB / 0.5102 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6603, allocations: 4 kB / 0.5102 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.6617, allocations: 0.6353 MB / 0.5108 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.6624, allocations: 306.1 kB / 0.5111 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.6625, allocations: 101.9 kB / 0.5112 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.6626, allocations: 8.125 kB / 0.5112 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6626, allocations: 36.56 kB / 0.5113 GB, free: 1.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.6626, allocations: 4 kB / 0.5113 GB, free: 1.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005115/0.6631, allocations: 278.4 kB / 0.5115 GB, free: 1.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.6633, allocations: 363.8 kB / 0.5119 GB, free: 1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.6636, allocations: 337 kB / 0.5122 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.6637, allocations: 26.45 kB / 0.5122 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.6638, allocations: 150.1 kB / 0.5124 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.6638, allocations: 75.95 kB / 0.5124 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.6639, allocations: 0 / 0.5124 GB, free: 0.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.664, allocations: 362.6 kB / 0.5128 GB, free: 160 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.6644, allocations: 190.6 kB / 0.513 GB, free: 15.99 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.6648, allocations: 290.1 kB / 0.5132 GB, free: 15.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.6653, allocations: 240.8 kB / 0.5135 GB, free: 15.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6653, allocations: 2.531 kB / 0.5135 GB, free: 15.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001207/0.6665, allocations: 0.6361 MB / 0.5141 GB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6665, allocations: 4 kB / 0.5141 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/0.6666, allocations: 15.92 kB / 0.5141 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.6671, allocations: 122.5 kB / 0.5142 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.6674, allocations: 67.95 kB / 0.5143 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6674, allocations: 3.516 kB / 0.5143 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.6676, allocations: 43.38 kB / 0.5143 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.6677, allocations: 15.98 kB / 0.5144 GB, free: 14.51 MB / 394.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.0001315/0.6678, allocations: 113 kB / 0.5145 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.6679, allocations: 39.47 kB / 0.5145 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.668, allocations: 39.62 kB / 0.5145 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.668, allocations: 7.906 kB / 0.5145 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6681, allocations: 0 / 0.5145 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6681, allocations: 0 / 0.5145 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.6685, allocations: 313.8 kB / 0.5148 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6685, allocations: 0 / 0.5148 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.6688, allocations: 47.97 kB / 0.5149 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.6689, allocations: 0 / 0.5149 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.6689, allocations: 12 kB / 0.5149 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.6689, allocations: 0 / 0.5149 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6689, allocations: 0 / 0.5149 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000631/0.6696, allocations: 0.4926 MB / 0.5154 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009037/0.6705, allocations: 1.006 MB / 0.5164 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.6706, allocations: 112.6 kB / 0.5165 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.6706, allocations: 11.98 kB / 0.5165 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.6708, allocations: 11.98 kB / 0.5165 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.6709, allocations: 9.766 kB / 0.5165 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.6709, allocations: 4 kB / 0.5165 GB, free: 12.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002332/0.6712, allocations: 247.2 kB / 0.5167 GB, free: 11.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003131/0.6743, allocations: 0.7027 MB / 0.5174 GB, free: 11.27 MB / 394.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.003171/0.6775, allocations: 0.7174 MB / 0.5181 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.6788, allocations: 0.8457 MB / 0.519 GB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6788, allocations: 4 kB / 0.519 GB, free: 9.598 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.679, allocations: 112.3 kB / 0.5191 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.6796, allocations: 97.52 kB / 0.5192 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.6812, allocations: 0.7253 MB / 0.5199 GB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005627/0.6818, allocations: 0.8927 MB / 0.5207 GB, free: 7.73 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6818, allocations: 4 kB / 0.5207 GB, free: 7.727 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1)