Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001148/0.001148, allocations: 202.3 kB / 8.541 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.207/1.207, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008922/0.0008922, allocations: 92.56 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.171/0.171, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1956/0.3667, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.4675, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.457/4.925, allocations: 3.083 GB / 3.587 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/4.925, allocations: 71.95 kB / 3.587 GB, free: 34.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.5753/5.5, allocations: 210.8 MB / 3.793 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/5.5, allocations: 8 kB / 3.793 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/5.5, allocations: 31.72 kB / 3.793 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/5.5, allocations: 226.5 kB / 3.794 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/5.501, allocations: 119.3 kB / 3.794 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/5.501, allocations: 12 kB / 3.794 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006291/5.501, allocations: 0.7072 MB / 3.794 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/5.502, allocations: 293.9 kB / 3.795 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/5.502, allocations: 0 / 3.795 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/5.502, allocations: 0 / 3.795 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/5.502, allocations: 8 kB / 3.795 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/5.504, allocations: 3.504 MB / 3.798 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/5.504, allocations: 46.66 kB / 3.798 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/5.504, allocations: 20.86 kB / 3.798 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/5.504, allocations: 441.9 kB / 3.799 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/5.504, allocations: 38.78 kB / 3.799 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/5.504, allocations: 0 / 3.799 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000149/5.504, allocations: 61.38 kB / 3.799 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.356e-05/5.505, allocations: 55.44 kB / 3.799 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/5.505, allocations: 212.8 kB / 3.799 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/5.505, allocations: 29.7 kB / 3.799 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/5.505, allocations: 250 kB / 3.799 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/5.505, allocations: 8 kB / 3.799 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/5.505, allocations: 0 / 3.799 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/5.505, allocations: 330.8 kB / 3.8 GB, free: 31.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/5.505, allocations: 32.88 kB / 3.8 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/5.505, allocations: 340.1 kB / 3.8 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/5.505, allocations: 119.7 kB / 3.8 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/5.505, allocations: 8 kB / 3.8 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006398/5.506, allocations: 333.8 kB / 3.8 GB, free: 30.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/5.506, allocations: 8 kB / 3.8 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/5.506, allocations: 8 kB / 3.8 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/5.506, allocations: 16 kB / 3.8 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/5.506, allocations: 99.83 kB / 3.8 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/5.506, allocations: 27.86 kB / 3.8 GB, free: 30.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/5.507, allocations: 51.38 kB / 3.801 GB, free: 30 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/5.507, allocations: 31.98 kB / 3.801 GB, free: 29.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 6.313e-05/5.507, allocations: 128.9 kB / 3.801 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/5.507, allocations: 19.81 kB / 3.801 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/5.507, allocations: 16.8 kB / 3.801 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/5.507, allocations: 0 / 3.801 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/5.507, allocations: 0 / 3.801 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/5.507, allocations: 0 / 3.801 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/5.507, allocations: 178.1 kB / 3.801 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/5.507, allocations: 0 / 3.801 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/5.507, allocations: 0 / 3.801 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/5.507, allocations: 0 / 3.801 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/5.507, allocations: 4 kB / 3.801 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/5.507, allocations: 0 / 3.801 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.507, allocations: 3.938 kB / 3.801 GB, free: 29.58 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001005/5.507, allocations: 155.3 kB / 3.801 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003016/5.507, allocations: 0.5779 MB / 3.802 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/5.508, allocations: 112.8 kB / 3.802 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/5.508, allocations: 3.938 kB / 3.802 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/5.508, allocations: 3.984 kB / 3.802 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/5.508, allocations: 0 / 3.802 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/5.508, allocations: 4 kB / 3.802 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.027e-05/5.508, allocations: 141.2 kB / 3.802 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001172/5.509, allocations: 127.8 kB / 3.802 GB, free: 28.41 MB / 0.5261 GB 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003147/5.509, allocations: 314 kB / 3.802 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002067/5.51, allocations: 138.2 kB / 3.802 GB, free: 28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/5.51, allocations: 0 / 3.802 GB, free: 28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/5.51, allocations: 4 kB / 3.802 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/5.51, allocations: 12.5 kB / 3.802 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3445/5.854, allocations: 97.13 MB / 3.897 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/5.855, allocations: 0.752 MB / 3.898 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/5.855, allocations: 5.531 kB / 3.898 GB, free: 158.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)