Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.001163/0.001163, allocations: 193 kB / 7.806 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.502/1.502, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.000846/0.000846, allocations: 92.81 kB / 261.4 MB, free: 13.54 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.2298/0.2298, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2437/0.4736, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.8485, allocations: 58.83 MB / 476.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.9802, allocations: 87.03 MB / 0.5505 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.9805, allocations: 59.98 kB / 0.5505 GB, free: 11.81 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.02019/1.001, allocations: 7.225 MB / 0.5576 GB, free: 4.516 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.001, allocations: 8 kB / 0.5576 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/1.001, allocations: 39.53 kB / 0.5576 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/1.001, allocations: 276.2 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.001, allocations: 12 kB / 0.5579 GB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/1.001, allocations: 16 kB / 0.5579 GB, free: 4.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004264/1.002, allocations: 197.5 kB / 0.5581 GB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/1.002, allocations: 274.3 kB / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.002, allocations: 0 / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/1.002, allocations: 0 / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.002, allocations: 11.94 kB / 0.5584 GB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/1.004, allocations: 1.216 MB / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/1.005, allocations: 162.7 kB / 0.5597 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/1.005, allocations: 47.5 kB / 0.5598 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/1.005, allocations: 4 kB / 0.5598 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.005, allocations: 46.53 kB / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/1.005, allocations: 0 / 0.5598 GB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003866/1.005, allocations: 121.3 kB / 0.5599 GB, free: 1.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/1.006, allocations: 132.5 kB / 0.56 GB, free: 1.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/1.006, allocations: 235.3 kB / 0.5603 GB, free: 1.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.006, allocations: 25.7 kB / 0.5603 GB, free: 1.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.006, allocations: 223.3 kB / 0.5605 GB, free: 1.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/1.006, allocations: 47.3 kB / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.006, allocations: 0 / 0.5606 GB, free: 1.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/1.006, allocations: 338.8 kB / 0.5609 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/1.006, allocations: 48.56 kB / 0.5609 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/1.007, allocations: 134.4 kB / 0.5611 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.007, allocations: 64.09 kB / 0.5611 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.007, allocations: 7.844 kB / 0.5611 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004364/1.007, allocations: 237.2 kB / 0.5613 GB, free: 348 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/1.007, allocations: 6.812 kB / 0.5614 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.007, allocations: 4 kB / 0.5614 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.007, allocations: 4 kB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.008, allocations: 84.08 kB / 0.5614 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.008, allocations: 4 kB / 0.5614 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/1.008, allocations: 47.66 kB / 0.5615 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/1.008, allocations: 12 kB / 0.5615 GB, free: 188 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.00011/1.008, allocations: 117.7 kB / 0.5616 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.008, allocations: 23.72 kB / 0.5616 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/1.008, allocations: 33.36 kB / 0.5617 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.008, allocations: 4 kB / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.008, allocations: 0 / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.008, allocations: 0 / 0.5617 GB, free: 0 / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007334/1.009, allocations: 0.5335 MB / 0.5622 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.009, allocations: 4 kB / 0.5622 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/1.009, allocations: 47.91 kB / 0.5622 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/1.009, allocations: 8.156 kB / 0.5623 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/1.009, allocations: 7.906 kB / 0.5623 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.009, allocations: 0 / 0.5623 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.009, allocations: 4 kB / 0.5623 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004044/1.01, allocations: 408.8 kB / 0.5627 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005217/1.01, allocations: 0.7746 MB / 0.5634 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/1.01, allocations: 100.8 kB / 0.5635 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/1.01, allocations: 3.984 kB / 0.5635 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.011, allocations: 23.98 kB / 0.5635 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/1.011, allocations: 15.89 kB / 0.5635 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/1.011, allocations: 12.06 kB / 0.5636 GB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001683/1.011, allocations: 175.1 kB / 0.5637 GB, free: 13.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001094/1.012, allocations: 71.67 kB / 0.5638 GB, free: 13.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001608/1.012, allocations: 103.2 kB / 0.5639 GB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/1.012, allocations: 135.7 kB / 0.564 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.012, allocations: 4 kB / 0.564 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.013, allocations: 51.94 kB / 0.5641 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/1.013, allocations: 9.797 kB / 0.5641 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/1.014, allocations: 370.2 kB / 0.5644 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/1.015, allocations: 0.8125 MB / 0.5652 GB, free: 12.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/1.015, allocations: 0 / 0.5652 GB, free: 12.06 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat