Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.001511/0.001511, allocations: 189.1 kB / 7.803 MB, free: 2.488 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.448/1.448, allocations: 205.2 MB / 213.4 MB, free: 13.88 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.000887/0.0008871, allocations: 79.45 kB / 261.4 MB, free: 13.57 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.2071/0.2071, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2315/0.4386, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.8114, allocations: 58.84 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.9537, allocations: 89.19 MB / 0.5526 GB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.954, allocations: 71.47 kB / 0.5526 GB, free: 9.766 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.01685/0.9709, allocations: 5.91 MB / 0.5584 GB, free: 3.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9709, allocations: 8 kB / 0.5584 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.9711, allocations: 43.44 kB / 0.5585 GB, free: 3.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.9717, allocations: 278.6 kB / 0.5587 GB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.9717, allocations: 15.94 kB / 0.5587 GB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.9718, allocations: 20 kB / 0.5588 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005679/0.9723, allocations: 249.5 kB / 0.559 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.9729, allocations: 258.2 kB / 0.5592 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.9729, allocations: 0 / 0.5592 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.973, allocations: 4 kB / 0.5593 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.973, allocations: 8 kB / 0.5593 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.9756, allocations: 1.28 MB / 0.5605 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.976, allocations: 224.7 kB / 0.5607 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.9763, allocations: 137.7 kB / 0.5609 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.9763, allocations: 4.281 kB / 0.5609 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9764, allocations: 42.84 kB / 0.5609 GB, free: 1.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.485e-06/0.9764, allocations: 0 / 0.5609 GB, free: 1.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005227/0.9769, allocations: 231.8 kB / 0.5611 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.977, allocations: 55.41 kB / 0.5612 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.9772, allocations: 200 kB / 0.5614 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.9772, allocations: 25.7 kB / 0.5614 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.9774, allocations: 192 kB / 0.5616 GB, free: 372 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.9775, allocations: 110.3 kB / 0.5617 GB, free: 260 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.9775, allocations: 0 / 0.5617 GB, free: 260 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.9777, allocations: 338.8 kB / 0.562 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.9779, allocations: 84.86 kB / 0.5621 GB, free: 15.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.9782, allocations: 142.7 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.9784, allocations: 113.4 kB / 0.5623 GB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9784, allocations: 0 / 0.5623 GB, free: 15.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005239/0.9789, allocations: 299 kB / 0.5626 GB, free: 15.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.979, allocations: 7.938 kB / 0.5626 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.979, allocations: 224 / 0.5626 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.979, allocations: 8 kB / 0.5626 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.9795, allocations: 107.9 kB / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9795, allocations: 7.984 kB / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.9799, allocations: 35.58 kB / 0.5628 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.9799, allocations: 20 kB / 0.5628 GB, free: 15.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001131/0.98, allocations: 112.3 kB / 0.5629 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.9801, allocations: 23.72 kB / 0.5629 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.9806, allocations: 280.1 kB / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9806, allocations: 4 kB / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9807, allocations: 0 / 0.5632 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.9807, allocations: 3.984 kB / 0.5632 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.9811, allocations: 337.8 kB / 0.5635 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9811, allocations: 4 kB / 0.5635 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.9816, allocations: 83.88 kB / 0.5636 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.9816, allocations: 4 kB / 0.5636 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.9817, allocations: 0 / 0.5636 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.9817, allocations: 4 kB / 0.5636 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9817, allocations: 4 kB / 0.5636 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007054/0.9824, allocations: 458.8 kB / 0.5641 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009704/0.9834, allocations: 0.9336 MB / 0.565 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.9835, allocations: 128.6 kB / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.9836, allocations: 0 / 0.5651 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.9839, allocations: 12.12 kB / 0.5651 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.9839, allocations: 19.97 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.984, allocations: 7.984 kB / 0.5651 GB, free: 12.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001656/0.9841, allocations: 156.5 kB / 0.5653 GB, free: 12.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001207/0.9853, allocations: 91.62 kB / 0.5654 GB, free: 12.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.0001919/0.9856, allocations: 95.19 kB / 0.5655 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.9861, allocations: 232.7 kB / 0.5657 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9861, allocations: 4.062 kB / 0.5657 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.9864, allocations: 111.9 kB / 0.5658 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.9868, allocations: 27.92 kB / 0.5658 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.9885, allocations: 0.5318 MB / 0.5663 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.9892, allocations: 0.8493 MB / 0.5672 GB, free: 10.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9892, allocations: 4 kB / 0.5672 GB, free: 10.44 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat