Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001908/0.001908, allocations: 210 kB / 8.543 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 225.5 MB / 234.4 MB, free: 3.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008621/0.0008623, allocations: 95.7 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1746/0.1746, allocations: 45.14 MB / 383.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2026/0.3773, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.4697, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2562/0.726, allocations: 86 MB / 0.5878 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.7262, allocations: 64.89 kB / 0.5879 GB, free: 0.7734 MB / 378.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.009724/0.736, allocations: 3.198 MB / 0.591 GB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.736, allocations: 15.94 kB / 0.591 GB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.7361, allocations: 7.906 kB / 0.5911 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.7362, allocations: 163 kB / 0.5912 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7362, allocations: 4 kB / 0.5912 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.7362, allocations: 11.84 kB / 0.5912 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.652e-05/0.7363, allocations: 39.84 kB / 0.5913 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.311e-05/0.7364, allocations: 58.23 kB / 0.5913 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.7365, allocations: 3.688 kB / 0.5913 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7365, allocations: 4 kB / 0.5913 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7365, allocations: 0 / 0.5913 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.7366, allocations: 157.3 kB / 0.5915 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.7367, allocations: 69.12 kB / 0.5915 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.7368, allocations: 28.42 kB / 0.5916 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002594/0.7371, allocations: 109.1 kB / 0.5917 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7371, allocations: 34.56 kB / 0.5917 GB, free: 13.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.7371, allocations: 0 / 0.5917 GB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.125/0.8621, allocations: 5.251 MB / 0.5968 GB, free: 8.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.8622, allocations: 55.41 kB / 0.5969 GB, free: 8.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.8623, allocations: 85 kB / 0.597 GB, free: 7.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.8623, allocations: 25.7 kB / 0.597 GB, free: 7.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.8623, allocations: 80.52 kB / 0.5971 GB, free: 7.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.8624, allocations: 77.16 kB / 0.5971 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.8624, allocations: 3.938 kB / 0.5971 GB, free: 7.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.8625, allocations: 322.5 kB / 0.5975 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.8626, allocations: 67.97 kB / 0.5975 GB, free: 7.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.8627, allocations: 64.86 kB / 0.5976 GB, free: 7.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.8638, allocations: 200.8 kB / 0.5978 GB, free: 7.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8638, allocations: 4 kB / 0.5978 GB, free: 7.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001317/0.8652, allocations: 365.4 kB / 0.5981 GB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8652, allocations: 4 kB / 0.5981 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.8652, allocations: 4 kB / 0.5981 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8652, allocations: 4 kB / 0.5981 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.8657, allocations: 95.73 kB / 0.5982 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.8657, allocations: 0 / 0.5982 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.866, allocations: 44.83 kB / 0.5983 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.866, allocations: 15.98 kB / 0.5983 GB, free: 6.684 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 (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 8.931e-05/0.8661, allocations: 108.9 kB / 0.5984 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.8661, allocations: 11.81 kB / 0.5984 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.8682, allocations: 471 kB / 0.5989 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.8682, allocations: 0 / 0.5989 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8683, allocations: 4 kB / 0.5989 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8683, allocations: 0 / 0.5989 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.8711, allocations: 0.8021 MB / 0.5996 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8711, allocations: 0 / 0.5996 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.8715, allocations: 91.92 kB / 0.5997 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.8715, allocations: 4 kB / 0.5997 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.8716, allocations: 11.17 kB / 0.5997 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8716, allocations: 8 kB / 0.5997 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8716, allocations: 0 / 0.5997 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00157/0.8732, allocations: 452.6 kB / 0.6002 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001643/0.8748, allocations: 0.8103 MB / 0.601 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.8749, allocations: 88.92 kB / 0.6011 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.875, allocations: 3.938 kB / 0.6011 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.8752, allocations: 43.97 kB / 0.6011 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.8752, allocations: 19.09 kB / 0.6011 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.8753, allocations: 19.92 kB / 0.6011 GB, free: 3.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.878e-05/0.8753, allocations: 75.28 kB / 0.6012 GB, free: 3.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002193/0.8775, allocations: 0.605 MB / 0.6018 GB, free: 3.102 MB / 394.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.002964/0.8805, allocations: 333.8 kB / 0.6021 GB, free: 2.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.8808, allocations: 160.7 kB / 0.6023 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8808, allocations: 4 kB / 0.6023 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.881, allocations: 88 kB / 0.6024 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.8811, allocations: 11.83 kB / 0.6024 GB, free: 2.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.882, allocations: 263.6 kB / 0.6026 GB, free: 2.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.8823, allocations: 0.7537 MB / 0.6034 GB, free: 1.512 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8823, allocations: 0 / 0.6034 GB, free: 1.512 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat