Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.00156/0.00156, allocations: 198.6 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008947/0.0008949, allocations: 92.92 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1676/0.1676, allocations: 45.14 MB / 383.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/0.3799, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.4682, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2989/0.7671, allocations: 85.34 MB / 0.5872 GB, free: 1.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.7674, allocations: 59.91 kB / 0.5873 GB, free: 1.379 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00165/0.769, allocations: 0.5821 MB / 0.5878 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.7691, allocations: 12 kB / 0.5878 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.7691, allocations: 0 / 0.5878 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/0.7692, allocations: 159.1 kB / 0.588 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.7692, allocations: 7.906 kB / 0.588 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.7693, allocations: 0 / 0.588 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.687e-05/0.7693, allocations: 7.438 kB / 0.588 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.45e-05/0.7694, allocations: 55.09 kB / 0.5881 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.7694, allocations: 4 kB / 0.5881 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7694, allocations: 0 / 0.5881 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.7695, allocations: 8.609 kB / 0.5881 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.7697, allocations: 298.1 kB / 0.5884 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/0.7698, allocations: 21.89 kB / 0.5884 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.7698, allocations: 20.61 kB / 0.5884 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.7698, allocations: 0 / 0.5884 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.7698, allocations: 30.56 kB / 0.5884 GB, free: 96 kB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.7699, allocations: 0 / 0.5884 GB, free: 96 kB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.7701, allocations: 49.03 kB / 0.5885 GB, free: 44 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.7701, allocations: 55.41 kB / 0.5885 GB, free: 15.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.7702, allocations: 96.53 kB / 0.5886 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7702, allocations: 28.44 kB / 0.5886 GB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.7703, allocations: 84.27 kB / 0.5887 GB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.7703, allocations: 15.8 kB / 0.5887 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.7703, allocations: 0 / 0.5887 GB, free: 15.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7704, allocations: 313.2 kB / 0.589 GB, free: 15.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.7705, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.7705, allocations: 20.78 kB / 0.5891 GB, free: 15.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.7706, allocations: 15.3 kB / 0.5891 GB, free: 15.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.7706, allocations: 4 kB / 0.5891 GB, free: 15.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001197/0.7707, allocations: 53.06 kB / 0.5891 GB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7707, allocations: 7.906 kB / 0.5891 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7707, allocations: 0 / 0.5891 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.7707, allocations: 0 / 0.5891 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.7708, allocations: 11.98 kB / 0.5892 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.7708, allocations: 0 / 0.5892 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.7709, allocations: 7.938 kB / 0.5892 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.7709, allocations: 0 / 0.5892 GB, free: 15.31 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.837e-05/0.771, allocations: 105 kB / 0.5893 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.771, allocations: 7.906 kB / 0.5893 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.7712, allocations: 62.8 kB / 0.5893 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7712, allocations: 4 kB / 0.5893 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7712, allocations: 0 / 0.5893 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.7712, allocations: 0 / 0.5893 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.7714, allocations: 137.6 kB / 0.5895 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7714, allocations: 3.938 kB / 0.5895 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.7714, allocations: 8 kB / 0.5895 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.7714, allocations: 0 / 0.5895 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.7715, allocations: 4 kB / 0.5895 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7715, allocations: 0 / 0.5895 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7715, allocations: 0 / 0.5895 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001526/0.7716, allocations: 153 kB / 0.5896 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002578/0.7719, allocations: 0.5188 MB / 0.5901 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.7719, allocations: 81.11 kB / 0.5902 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.772, allocations: 0 / 0.5902 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.772, allocations: 4 kB / 0.5902 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.7721, allocations: 0 / 0.5902 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7721, allocations: 0 / 0.5902 GB, free: 14.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.991e-05/0.7722, allocations: 82.22 kB / 0.5903 GB, free: 14.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009673/0.7731, allocations: 11.89 kB / 0.5903 GB, free: 14.06 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.0001326/0.7733, allocations: 95.25 kB / 0.5904 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.7734, allocations: 23.78 kB / 0.5904 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.7734, allocations: 7.938 kB / 0.5904 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.7734, allocations: 11.56 kB / 0.5904 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.7736, allocations: 0 / 0.5904 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.7738, allocations: 67.17 kB / 0.5905 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.7741, allocations: 0.6876 MB / 0.5912 GB, free: 13.13 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7742, allocations: 0 / 0.5912 GB, free: 13.13 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat