Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001644/0.001644, allocations: 172 kB / 8.516 MB, free: 1.848 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.239/1.239, allocations: 221.4 MB / 230.3 MB, free: 7.746 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.0009452/0.0009452, allocations: 92.72 kB / 281.2 MB, free: 5.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1592/0.1592, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.3383, allocations: 68.02 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.4294, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.678, allocations: 84.29 MB / 0.5765 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.6782, allocations: 72.7 kB / 0.5766 GB, free: 12.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001528/0.6798, allocations: 0.5791 MB / 0.5771 GB, free: 11.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6798, allocations: 11.94 kB / 0.5771 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.6799, allocations: 0 / 0.5771 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.68, allocations: 167 kB / 0.5773 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.68, allocations: 4 kB / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.68, allocations: 7.891 kB / 0.5773 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.106e-05/0.6801, allocations: 12 kB / 0.5773 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.881e-05/0.6802, allocations: 51.41 kB / 0.5774 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.6802, allocations: 0 / 0.5774 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.6802, allocations: 0 / 0.5774 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6802, allocations: 0 / 0.5774 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.6805, allocations: 298.5 kB / 0.5776 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.6805, allocations: 34.55 kB / 0.5777 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.6806, allocations: 8.859 kB / 0.5777 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.6806, allocations: 0 / 0.5777 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.6806, allocations: 38.56 kB / 0.5777 GB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.6806, allocations: 0 / 0.5777 GB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.00018/0.6808, allocations: 49.78 kB / 0.5778 GB, free: 10.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.6809, allocations: 51.41 kB / 0.5778 GB, free: 10.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.6809, allocations: 85 kB / 0.5779 GB, free: 10.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6809, allocations: 29.7 kB / 0.5779 GB, free: 10.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.681, allocations: 87.98 kB / 0.578 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.681, allocations: 15.8 kB / 0.578 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.681, allocations: 0 / 0.578 GB, free: 10.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.6811, allocations: 310.8 kB / 0.5783 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.6811, allocations: 10.86 kB / 0.5783 GB, free: 10.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.6812, allocations: 21.72 kB / 0.5784 GB, free: 10.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.509e-05/0.6812, allocations: 7.984 kB / 0.5784 GB, free: 10.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6812, allocations: 0 / 0.5784 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.6813, allocations: 49.69 kB / 0.5784 GB, free: 10.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.6813, allocations: 4 kB / 0.5784 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6814, allocations: 10.25 kB / 0.5784 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.6814, allocations: 3.906 kB / 0.5784 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.6814, allocations: 12.03 kB / 0.5784 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6815, allocations: 3.984 kB / 0.5784 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.6815, allocations: 3.938 kB / 0.5785 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.6815, allocations: 4.75 kB / 0.5785 GB, free: 10.24 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.568e-05/0.6816, allocations: 105 kB / 0.5786 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.6816, allocations: 3.906 kB / 0.5786 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.6817, allocations: 57.38 kB / 0.5786 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6817, allocations: 0 / 0.5786 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6818, allocations: 3.938 kB / 0.5786 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6818, allocations: 7.984 kB / 0.5786 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.6819, allocations: 130.2 kB / 0.5788 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6819, allocations: 4.125 kB / 0.5788 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.6819, allocations: 15.98 kB / 0.5788 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6819, allocations: 0 / 0.5788 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.682, allocations: 0 / 0.5788 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.682, allocations: 0 / 0.5788 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.682, allocations: 7.938 kB / 0.5788 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001283/0.6821, allocations: 151.5 kB / 0.5789 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002121/0.6823, allocations: 0.5154 MB / 0.5794 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.6824, allocations: 85.09 kB / 0.5795 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.6824, allocations: 0 / 0.5795 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.6824, allocations: 0 / 0.5795 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.6825, allocations: 4 kB / 0.5795 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.6825, allocations: 4.094 kB / 0.5795 GB, free: 9.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.561e-05/0.6825, allocations: 79.28 kB / 0.5796 GB, free: 8.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007944/0.6833, allocations: 7.906 kB / 0.5796 GB, free: 8.965 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0001175/0.6834, allocations: 107.2 kB / 0.5797 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.877e-05/0.6835, allocations: 20 kB / 0.5797 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6835, allocations: 0 / 0.5797 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.6836, allocations: 15.94 kB / 0.5797 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.6837, allocations: 4 kB / 0.5797 GB, free: 8.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001867/0.6839, allocations: 64.08 kB / 0.5798 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6841, allocations: 0.6915 MB / 0.5805 GB, free: 8.012 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6841, allocations: 0 / 0.5805 GB, free: 8.012 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat