Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 177.1 kB / 8.52 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.4 MB / 230.3 MB, free: 3 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.000907, allocations: 92.42 kB / 281.2 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2717/0.2717, allocations: 44.15 MB / 376.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1009/0.3726, allocations: 68.03 MB / 444.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.6351, allocations: 61.9 MB / 0.4942 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09504/0.7301, allocations: 84.96 MB / 0.5771 GB, free: 408 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.7304, allocations: 67.97 kB / 0.5772 GB, free: 340 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01049/0.7409, allocations: 3.187 MB / 0.5803 GB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.741, allocations: 13.25 kB / 0.5803 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.741, allocations: 9.312 kB / 0.5803 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.7412, allocations: 171 kB / 0.5805 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.7412, allocations: 0 / 0.5805 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.7412, allocations: 8 kB / 0.5805 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.7413, allocations: 51.81 kB / 0.5806 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.26e-05/0.7414, allocations: 56.3 kB / 0.5806 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7415, allocations: 0 / 0.5806 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.7415, allocations: 0 / 0.5806 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7415, allocations: 3.984 kB / 0.5806 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.7417, allocations: 158.1 kB / 0.5808 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.7418, allocations: 70.42 kB / 0.5808 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.7419, allocations: 24.86 kB / 0.5809 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.7421, allocations: 117.1 kB / 0.581 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.7422, allocations: 30.56 kB / 0.581 GB, free: 12.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7422, allocations: 0 / 0.581 GB, free: 12.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.1292/0.8713, allocations: 5.255 MB / 0.5861 GB, free: 7.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.8714, allocations: 51.41 kB / 0.5862 GB, free: 6.945 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.8715, allocations: 92.98 kB / 0.5863 GB, free: 6.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.8716, allocations: 25.7 kB / 0.5863 GB, free: 6.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.8716, allocations: 80.52 kB / 0.5864 GB, free: 6.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.8717, allocations: 66.92 kB / 0.5864 GB, free: 6.664 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.8717, allocations: 4.125 kB / 0.5864 GB, free: 6.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.8718, allocations: 322.8 kB / 0.5868 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.8719, allocations: 59.98 kB / 0.5868 GB, free: 6.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.8721, allocations: 64.8 kB / 0.5869 GB, free: 6.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.8732, allocations: 217 kB / 0.5871 GB, free: 6.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8732, allocations: 3.938 kB / 0.5871 GB, free: 6 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001416/0.8747, allocations: 360 kB / 0.5874 GB, free: 5.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.8747, allocations: 4 kB / 0.5874 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8747, allocations: 0 / 0.5874 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.8747, allocations: 4 kB / 0.5874 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.8752, allocations: 99.84 kB / 0.5875 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8752, allocations: 3.938 kB / 0.5875 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.8755, allocations: 43.97 kB / 0.5876 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.8756, allocations: 15.98 kB / 0.5876 GB, free: 5.477 MB / 410.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 (23): * Single equations (assignments): 23 * 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.0001098/0.8757, allocations: 108.9 kB / 0.5877 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.8757, allocations: 19.8 kB / 0.5877 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.8775, allocations: 457.6 kB / 0.5881 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.8775, allocations: 4 kB / 0.5882 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.8775, allocations: 0 / 0.5882 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8775, allocations: 0 / 0.5882 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.8802, allocations: 0.7999 MB / 0.5889 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.8802, allocations: 3.906 kB / 0.5889 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.8806, allocations: 91.94 kB / 0.589 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.8806, allocations: 3.984 kB / 0.589 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.8806, allocations: 8 kB / 0.589 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8806, allocations: 2.031 kB / 0.589 GB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.8806, allocations: 11.98 kB / 0.589 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00136/0.882, allocations: 449.8 kB / 0.5895 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001446/0.8835, allocations: 0.8143 MB / 0.5903 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.8835, allocations: 85 kB / 0.5904 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.8836, allocations: 7.906 kB / 0.5904 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.8838, allocations: 35.97 kB / 0.5904 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.8838, allocations: 15.98 kB / 0.5904 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.8839, allocations: 15.98 kB / 0.5904 GB, free: 2.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.452e-05/0.8839, allocations: 79.28 kB / 0.5905 GB, free: 2.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002243/0.8862, allocations: 0.6051 MB / 0.5911 GB, free: 1.734 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.003328/0.8895, allocations: 338.6 kB / 0.5914 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.8899, allocations: 161.3 kB / 0.5916 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8899, allocations: 0 / 0.5916 GB, free: 1.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.8901, allocations: 84.06 kB / 0.5916 GB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.8902, allocations: 10.25 kB / 0.5917 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.8911, allocations: 265.6 kB / 0.5919 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.8916, allocations: 0.7473 MB / 0.5926 GB, free: 92 kB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8916, allocations: 4 kB / 0.5926 GB, free: 88 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat