Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.0009554/0.0009555, allocations: 179.8 kB / 8.478 MB, free: 1.871 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.099/1.099, allocations: 205.2 MB / 214.1 MB, free: 5.105 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.0008424/0.0008424, allocations: 90.78 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1508/0.1517, allocations: 52.96 MB / 315.1 MB, free: 41.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.2212, allocations: 47.58 MB / 362.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.432, allocations: 77.99 MB / 440.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.4322, allocations: 68.28 kB / 440.7 MB, free: 10.76 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.02924/0.4615, allocations: 13.57 MB / 454.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4615, allocations: 11.53 kB / 454.3 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4617, allocations: 104.6 kB / 454.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.4623, allocations: 442.7 kB / 454.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.4623, allocations: 34.47 kB / 454.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.4624, allocations: 56.19 kB / 454.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008557/0.4633, allocations: 488.1 kB / 455.4 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.4643, allocations: 0.7035 MB / 456.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4643, allocations: 3.844 kB / 456.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.4644, allocations: 0 / 456.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.4644, allocations: 26.89 kB / 456.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.4682, allocations: 2.852 MB / 459 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.4685, allocations: 250.5 kB / 459.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.4688, allocations: 247.8 kB / 459.4 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4689, allocations: 3.812 kB / 459.4 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4689, allocations: 41.53 kB / 459.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.4689, allocations: 0 / 459.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006701/0.4696, allocations: 359.5 kB / 459.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.4696, allocations: 60.38 kB / 459.9 MB, free: 4.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.47, allocations: 405.4 kB / 460.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4701, allocations: 27.08 kB / 460.3 MB, free: 4.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4703, allocations: 447.7 kB / 460.8 MB, free: 4.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.4703, allocations: 150.8 kB / 460.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.4704, allocations: 0 / 460.9 MB, free: 3.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.4705, allocations: 366.6 kB / 461.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.4707, allocations: 139.9 kB / 461.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.471, allocations: 410 kB / 461.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.4713, allocations: 213.7 kB / 462 MB, free: 3.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4714, allocations: 2.406 kB / 462 MB, free: 3.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009854/0.4723, allocations: 0.6426 MB / 462.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4724, allocations: 5.344 kB / 462.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4724, allocations: 10.31 kB / 462.7 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.4727, allocations: 87.83 kB / 462.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.4734, allocations: 205.7 kB / 463 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.475, allocations: 1.705 MB / 464.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.4755, allocations: 66.69 kB / 464.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.4756, allocations: 33.84 kB / 464.8 MB, free: 1.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.4757, allocations: 133.8 kB / 464.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.4758, allocations: 55.97 kB / 464.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.4759, allocations: 61.84 kB / 465 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4759, allocations: 3.812 kB / 465 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4759, allocations: 1.719 kB / 465 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4759, allocations: 0 / 465 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.4764, allocations: 0.5308 MB / 465.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4765, allocations: 1 kB / 465.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.4769, allocations: 110.9 kB / 465.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001998/0.4771, allocations: 62.84 kB / 465.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.4771, allocations: 5.656 kB / 465.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.4785, allocations: 1.71 MB / 467.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.4785, allocations: 3.984 kB / 467.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008155/0.4793, allocations: 0.5914 MB / 468 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001066/0.4804, allocations: 1.113 MB / 469.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4806, allocations: 138.3 kB / 469.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.4807, allocations: 0.9688 kB / 469.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.4811, allocations: 49.78 kB / 469.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.4811, allocations: 24.7 kB / 469.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.4812, allocations: 12.56 kB / 469.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003009/0.4815, allocations: 288.3 kB / 469.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001308/0.4828, allocations: 228.4 kB / 469.9 MB, free: 14.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.483, allocations: 109.9 kB / 470 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/0.4837, allocations: 0.502 MB / 470.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4838, allocations: 1.375 kB / 470.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.4842, allocations: 282.5 kB / 470.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.4846, allocations: 78.16 kB / 470.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4866, allocations: 1.073 MB / 471.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.4872, allocations: 0.9965 MB / 472.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4873, allocations: 0 / 472.9 MB, free: 12.7 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat