Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",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.001075/0.001076, allocations: 210.4 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.158/1.158, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008888/0.0008887, allocations: 90.47 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1632/0.1632, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1916/0.3547, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.4384, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5/5.438, allocations: 3.403 GB / 3.907 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/5.439, allocations: 93.64 kB / 3.907 GB, free: 171.1 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.7773/6.216, allocations: 295.8 MB / 4.196 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/6.216, allocations: 8 kB / 4.196 GB, free: 79.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/6.216, allocations: 55.44 kB / 4.196 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/6.217, allocations: 373.3 kB / 4.196 GB, free: 79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/6.217, allocations: 15.91 kB / 4.196 GB, free: 78.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/6.217, allocations: 23.98 kB / 4.196 GB, free: 78.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000621/6.218, allocations: 437.3 kB / 4.196 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/6.218, allocations: 440 kB / 4.197 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/6.218, allocations: 7.922 kB / 4.197 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/6.218, allocations: 4 kB / 4.197 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/6.218, allocations: 8 kB / 4.197 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/6.221, allocations: 2.049 MB / 4.199 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/6.221, allocations: 389 kB / 4.199 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/6.221, allocations: 150.6 kB / 4.199 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/6.222, allocations: 0.7789 MB / 4.2 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/6.222, allocations: 42.5 kB / 4.2 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.547e-06/6.222, allocations: 0 / 4.2 GB, free: 74.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0009356/6.223, allocations: 381.4 kB / 4.201 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/6.223, allocations: 110.8 kB / 4.201 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/6.223, allocations: 251.5 kB / 4.201 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/6.223, allocations: 25.7 kB / 4.201 GB, free: 73.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/6.223, allocations: 215.5 kB / 4.201 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/6.223, allocations: 94.59 kB / 4.201 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/6.223, allocations: 4 kB / 4.201 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/6.224, allocations: 334.8 kB / 4.202 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/6.224, allocations: 136.7 kB / 4.202 GB, free: 72.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/6.224, allocations: 229.9 kB / 4.202 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/6.224, allocations: 254.7 kB / 4.202 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/6.225, allocations: 0 / 4.202 GB, free: 72.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009066/6.225, allocations: 0.5128 MB / 4.203 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/6.225, allocations: 4 kB / 4.203 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/6.225, allocations: 4 kB / 4.203 GB, free: 71.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/6.225, allocations: 11.91 kB / 4.203 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/6.226, allocations: 83.89 kB / 4.203 GB, free: 71.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/6.226, allocations: 15.92 kB / 4.203 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/6.226, allocations: 43.67 kB / 4.203 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/6.226, allocations: 16 kB / 4.203 GB, free: 71.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 9.305e-05/6.226, allocations: 120.8 kB / 4.203 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/6.227, allocations: 35.61 kB / 4.203 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/6.227, allocations: 422.6 kB / 4.203 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/6.227, allocations: 4 kB / 4.203 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/6.227, allocations: 0 / 4.203 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/6.227, allocations: 4 kB / 4.203 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/6.229, allocations: 1.363 MB / 4.205 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/6.229, allocations: 8 kB / 4.205 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/6.229, allocations: 52.53 kB / 4.205 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/6.229, allocations: 12 kB / 4.205 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/6.229, allocations: 4 kB / 4.205 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/6.229, allocations: 11.94 kB / 4.205 GB, free: 69.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/6.229, allocations: 7.906 kB / 4.205 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000499/6.23, allocations: 0.7489 MB / 4.205 GB, free: 68.37 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008032/6.23, allocations: 1.237 MB / 4.207 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/6.23, allocations: 124.7 kB / 4.207 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/6.231, allocations: 11.98 kB / 4.207 GB, free: 66.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/6.231, allocations: 23.92 kB / 4.207 GB, free: 66.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/6.231, allocations: 27.89 kB / 4.207 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/6.231, allocations: 19.94 kB / 4.207 GB, free: 66.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001786/6.231, allocations: 227.1 kB / 4.207 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002156/6.233, allocations: 0.5306 MB / 4.208 GB, free: 65.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.001709/6.235, allocations: 1.273 MB / 4.209 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004333/6.236, allocations: 347.1 kB / 4.209 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/6.236, allocations: 3.938 kB / 4.209 GB, free: 64.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/6.236, allocations: 133.5 kB / 4.209 GB, free: 64.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/6.237, allocations: 169.9 kB / 4.209 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/6.237, allocations: 0.5734 MB / 4.21 GB, free: 63.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/6.238, allocations: 0.8952 MB / 4.211 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/6.238, allocations: 4 kB / 4.211 GB, free: 62.59 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)