Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001522/0.001522, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.165/1.165, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008882/0.0008882, allocations: 93.17 kB / 286.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1684/0.1684, allocations: 45.13 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/0.3625, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.4463, allocations: 63.25 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2543/0.7007, allocations: 85.28 MB / 0.5871 GB, free: 1.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001336/0.7008, allocations: 61.28 kB / 0.5872 GB, free: 1.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001534/0.7024, allocations: 0.6363 MB / 0.5878 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.7024, allocations: 8 kB / 0.5878 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.7025, allocations: 4 kB / 0.5878 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.309e-05/0.7025, allocations: 163 kB / 0.588 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.7025, allocations: 0 / 0.588 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.7026, allocations: 0 / 0.588 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.805e-05/0.7026, allocations: 11.28 kB / 0.588 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.758e-05/0.7027, allocations: 33.69 kB / 0.588 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7027, allocations: 0 / 0.588 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.7027, allocations: 8 kB / 0.588 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.7027, allocations: 0 / 0.588 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.43e-05/0.7028, allocations: 125.7 kB / 0.5882 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.7029, allocations: 29.64 kB / 0.5882 GB, free: 380 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.703, allocations: 12.42 kB / 0.5882 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.7033, allocations: 125.2 kB / 0.5883 GB, free: 224 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.1e-05/0.7033, allocations: 38.47 kB / 0.5884 GB, free: 176 kB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.7033, allocations: 0 / 0.5884 GB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001117/0.7044, allocations: 179.7 kB / 0.5885 GB, free: 0 / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.7045, allocations: 59.41 kB / 0.5886 GB, free: 15.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.7045, allocations: 85 kB / 0.5887 GB, free: 15.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.7046, allocations: 25.7 kB / 0.5887 GB, free: 15.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.7046, allocations: 82.88 kB / 0.5888 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7046, allocations: 23.14 kB / 0.5888 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.7046, allocations: 0 / 0.5888 GB, free: 15.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.7047, allocations: 310.8 kB / 0.5891 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.7048, allocations: 7.188 kB / 0.5891 GB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.7048, allocations: 19 kB / 0.5891 GB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.7049, allocations: 19.47 kB / 0.5891 GB, free: 15.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.7049, allocations: 0 / 0.5891 GB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001389/0.705, allocations: 60.42 kB / 0.5892 GB, free: 15.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.705, allocations: 8 kB / 0.5892 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.705, allocations: 0 / 0.5892 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7051, allocations: 7.891 kB / 0.5892 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.7052, allocations: 19.92 kB / 0.5892 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.7052, allocations: 3.938 kB / 0.5892 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.7053, allocations: 12 kB / 0.5892 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.7053, allocations: 0 / 0.5892 GB, free: 15.25 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 (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.593e-05/0.7054, allocations: 104.9 kB / 0.5893 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.7054, allocations: 11.89 kB / 0.5893 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.7056, allocations: 79.06 kB / 0.5894 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7057, allocations: 144 / 0.5894 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.7057, allocations: 0 / 0.5894 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7057, allocations: 3.984 kB / 0.5894 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.7063, allocations: 325.9 kB / 0.5897 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7063, allocations: 0 / 0.5897 GB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.7064, allocations: 19.92 kB / 0.5898 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.7064, allocations: 3.984 kB / 0.5898 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.7064, allocations: 8.031 kB / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7064, allocations: 0 / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7064, allocations: 0 / 0.5898 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001741/0.7066, allocations: 176.7 kB / 0.5899 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002556/0.7069, allocations: 0.548 MB / 0.5905 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.7069, allocations: 81.09 kB / 0.5906 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.707, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.7071, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.7071, allocations: 11.89 kB / 0.5906 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.7071, allocations: 4 kB / 0.5906 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.362e-05/0.7072, allocations: 79.22 kB / 0.5906 GB, free: 13.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000858/0.708, allocations: 12 kB / 0.5907 GB, free: 13.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001108/0.7081, allocations: 95.25 kB / 0.5908 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.889e-05/0.7082, allocations: 26.92 kB / 0.5908 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7082, allocations: 4 kB / 0.5908 GB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.7083, allocations: 15.88 kB / 0.5908 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7084, allocations: 4.156 kB / 0.5908 GB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.7088, allocations: 93.23 kB / 0.5909 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.709, allocations: 0.6958 MB / 0.5916 GB, free: 12.71 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.709, allocations: 0 / 0.5916 GB, free: 12.71 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat