Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks",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.001265/0.001265, allocations: 187.7 kB / 7.802 MB, free: 2.504 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.387/1.387, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.92 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1854/0.1854, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1892/0.3746, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.7076, allocations: 58.84 MB / 476.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.8416, allocations: 88.34 MB / 0.5517 GB, free: 10.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.842, allocations: 63.97 kB / 0.5518 GB, free: 10.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01896/0.8609, allocations: 6.2 MB / 0.5579 GB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.861, allocations: 8 kB / 0.5579 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.8622, allocations: 79.59 kB / 0.5579 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.8624, allocations: 194.7 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.8624, allocations: 8 kB / 0.5581 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.8625, allocations: 12 kB / 0.5581 GB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003147/0.8628, allocations: 117.3 kB / 0.5583 GB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.8631, allocations: 148.9 kB / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8631, allocations: 0 / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.8631, allocations: 0 / 0.5584 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.8632, allocations: 8 kB / 0.5584 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.8641, allocations: 0.5416 MB / 0.5589 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.8647, allocations: 207.4 kB / 0.5591 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.8648, allocations: 57.31 kB / 0.5592 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.8649, allocations: 240 / 0.5592 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8649, allocations: 38.8 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.8649, allocations: 4 kB / 0.5592 GB, free: 2.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003075/0.8652, allocations: 140 kB / 0.5594 GB, free: 2.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.8653, allocations: 55.41 kB / 0.5594 GB, free: 2.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.8654, allocations: 101 kB / 0.5595 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.8654, allocations: 25.7 kB / 0.5595 GB, free: 2.301 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.8655, allocations: 132.2 kB / 0.5597 GB, free: 2.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.8656, allocations: 82.77 kB / 0.5597 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.8656, allocations: 0 / 0.5597 GB, free: 2.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8657, allocations: 326.7 kB / 0.5601 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.8658, allocations: 36 kB / 0.5601 GB, free: 1.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.8658, allocations: 31.94 kB / 0.5601 GB, free: 1.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.8659, allocations: 39.97 kB / 0.5602 GB, free: 1.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8659, allocations: 0 / 0.5602 GB, free: 1.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002119/0.8661, allocations: 137.3 kB / 0.5603 GB, free: 1.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8662, allocations: 4 kB / 0.5603 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.8662, allocations: 4 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8662, allocations: 0 / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.8666, allocations: 103.9 kB / 0.5604 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8666, allocations: 3.906 kB / 0.5604 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.8667, allocations: 15.84 kB / 0.5604 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.8668, allocations: 8 kB / 0.5604 GB, free: 1.379 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 (27): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001024/0.8669, allocations: 105 kB / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.8669, allocations: 11.84 kB / 0.5605 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.867, allocations: 29.2 kB / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.867, allocations: 0 / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.867, allocations: 0 / 0.5606 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.867, allocations: 4 kB / 0.5606 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.8673, allocations: 218 kB / 0.5608 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8673, allocations: 3.938 kB / 0.5608 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.8677, allocations: 103.9 kB / 0.5609 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.8677, allocations: 0 / 0.5609 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.8677, allocations: 0 / 0.5609 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8677, allocations: 4 kB / 0.5609 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8677, allocations: 3.906 kB / 0.5609 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002633/0.868, allocations: 243.5 kB / 0.5611 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006455/0.8687, allocations: 0.7346 MB / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.8687, allocations: 92.94 kB / 0.5619 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.8688, allocations: 3.906 kB / 0.5619 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.8689, allocations: 4 kB / 0.5619 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.8689, allocations: 7.984 kB / 0.5619 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.8689, allocations: 11.98 kB / 0.5619 GB, free: 15.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.379e-05/0.869, allocations: 91.47 kB / 0.562 GB, free: 15.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009228/0.8699, allocations: 43.75 kB / 0.5621 GB, free: 15.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (27): * Single equations (assignments): 27 * 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.0001307/0.8701, allocations: 99.17 kB / 0.5622 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.8703, allocations: 112.4 kB / 0.5623 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8703, allocations: 0 / 0.5623 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.8704, allocations: 63.92 kB / 0.5623 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.8706, allocations: 7.922 kB / 0.5623 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.8712, allocations: 251.7 kB / 0.5626 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/0.8716, allocations: 0.7628 MB / 0.5633 GB, free: 14.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8716, allocations: 0 / 0.5633 GB, free: 14.24 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat