Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00229/0.00229, allocations: 186.9 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009856/0.0009856, allocations: 88.47 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2423/0.2423, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2618/0.5042, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.9288, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.131/9.06, allocations: 3.573 GB / 4.039 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/9.06, allocations: 87.34 kB / 4.039 GB, free: 134.7 MB / 0.4948 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 1.026/10.09, allocations: 306.1 MB / 4.338 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/10.09, allocations: 8 kB / 4.338 GB, free: 23.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005055/10.09, allocations: 59.42 kB / 4.338 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/10.09, allocations: 385.5 kB / 4.338 GB, free: 23.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/10.09, allocations: 12 kB / 4.338 GB, free: 23.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/10.09, allocations: 23.98 kB / 4.338 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008416/10.09, allocations: 433.4 kB / 4.339 GB, free: 22.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/10.09, allocations: 444 kB / 4.339 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/10.09, allocations: 4 kB / 4.339 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/10.09, allocations: 0 / 4.339 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/10.09, allocations: 8 kB / 4.339 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/10.09, allocations: 2.048 MB / 4.341 GB, free: 19.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/10.09, allocations: 393 kB / 4.341 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/10.09, allocations: 151 kB / 4.341 GB, free: 19.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/10.09, allocations: 0.7752 MB / 4.342 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/10.09, allocations: 42.55 kB / 4.342 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/10.09, allocations: 0 / 4.342 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0009903/10.09, allocations: 376.9 kB / 4.343 GB, free: 17.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/10.09, allocations: 118.8 kB / 4.343 GB, free: 17.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/10.09, allocations: 247.6 kB / 4.343 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/10.1, allocations: 25.7 kB / 4.343 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/10.1, allocations: 211.5 kB / 4.343 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/10.1, allocations: 90.66 kB / 4.343 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/10.1, allocations: 4 kB / 4.343 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/10.1, allocations: 342.8 kB / 4.344 GB, free: 16.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/10.1, allocations: 128.7 kB / 4.344 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/10.1, allocations: 241.8 kB / 4.344 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/10.1, allocations: 247.8 kB / 4.344 GB, free: 16.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/10.1, allocations: 4 kB / 4.344 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001034/10.1, allocations: 0.5008 MB / 4.345 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/10.1, allocations: 8 kB / 4.345 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/10.1, allocations: 4 kB / 4.345 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/10.1, allocations: 11.89 kB / 4.345 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/10.1, allocations: 88.2 kB / 4.345 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/10.1, allocations: 8 kB / 4.345 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/10.1, allocations: 43.67 kB / 4.345 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/10.1, allocations: 19.98 kB / 4.345 GB, free: 15.57 MB / 0.4948 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 0.000149/10.1, allocations: 128.7 kB / 4.345 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/10.1, allocations: 31.67 kB / 4.345 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/10.1, allocations: 422.6 kB / 4.345 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/10.1, allocations: 0 / 4.345 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/10.1, allocations: 4 kB / 4.345 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/10.1, allocations: 3.984 kB / 4.345 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/10.1, allocations: 1.357 MB / 4.347 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/10.1, allocations: 12.06 kB / 4.347 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/10.1, allocations: 59.91 kB / 4.347 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/10.1, allocations: 8 kB / 4.347 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/10.1, allocations: 8 kB / 4.347 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/10.1, allocations: 15.83 kB / 4.347 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/10.1, allocations: 7.938 kB / 4.347 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006872/10.1, allocations: 0.7599 MB / 4.348 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001182/10.1, allocations: 1.216 MB / 4.349 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/10.1, allocations: 124.6 kB / 4.349 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/10.1, allocations: 8 kB / 4.349 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/10.1, allocations: 23.98 kB / 4.349 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/10.1, allocations: 31.81 kB / 4.349 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/10.1, allocations: 16 kB / 4.349 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002347/10.1, allocations: 231.1 kB / 4.349 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003104/10.11, allocations: 0.5579 MB / 4.35 GB, free: 10.01 MB / 0.4948 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.003458/10.11, allocations: 1.404 MB / 4.351 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006442/10.11, allocations: 354.9 kB / 4.351 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/10.11, allocations: 4 kB / 4.351 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/10.11, allocations: 121.7 kB / 4.352 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/10.11, allocations: 164.3 kB / 4.352 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/10.11, allocations: 0.5881 MB / 4.352 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/10.12, allocations: 0.891 MB / 4.353 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/10.12, allocations: 0 / 4.353 GB, free: 6.367 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)