Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances",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/BuildSysPro 3.5.0/package.mo): time 0.7551/0.7551, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 185.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001079, allocations: 90.08 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3551/0.3562, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.5597, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.063/5.623, allocations: 2.159 GB / 2.78 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.623, allocations: 91.94 kB / 2.78 GB, free: 52.72 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 2.521/8.144, allocations: 0.659 GB / 3.439 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/8.144, allocations: 8.281 kB / 3.439 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/8.147, allocations: 270.5 kB / 3.44 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/8.149, allocations: 0.856 MB / 3.44 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/8.149, allocations: 35.62 kB / 3.44 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/8.149, allocations: 64.78 kB / 3.441 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001766/8.151, allocations: 0.8999 MB / 3.441 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/8.153, allocations: 1.113 MB / 3.442 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/8.153, allocations: 7.844 kB / 3.442 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/8.153, allocations: 3.719 kB / 3.442 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/8.153, allocations: 42.56 kB / 3.443 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00629/8.159, allocations: 6.05 MB / 3.448 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/8.16, allocations: 0.5611 MB / 3.449 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/8.161, allocations: 301.6 kB / 3.449 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004469/8.161, allocations: 220.8 kB / 3.449 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/8.161, allocations: 38.97 kB / 3.45 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.376e-06/8.161, allocations: 0.8125 kB / 3.45 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001683/8.163, allocations: 0.6142 MB / 3.45 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/8.163, allocations: 84.8 kB / 3.45 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/8.164, allocations: 0.5601 MB / 3.451 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/8.164, allocations: 28.17 kB / 3.451 GB, free: 100 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/8.164, allocations: 478.1 kB / 3.451 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/8.165, allocations: 177.4 kB / 3.451 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/8.165, allocations: 3.844 kB / 3.451 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001531/8.165, allocations: 387.7 kB / 3.452 GB, free: 99.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/8.165, allocations: 250.8 kB / 3.452 GB, free: 99.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/8.166, allocations: 0.5984 MB / 3.453 GB, free: 98.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/8.167, allocations: 400.5 kB / 3.453 GB, free: 98.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/8.167, allocations: 2.688 kB / 3.453 GB, free: 98.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00181/8.169, allocations: 0.8788 MB / 3.454 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/8.169, allocations: 6.969 kB / 3.454 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/8.169, allocations: 16.59 kB / 3.454 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/8.169, allocations: 14.47 kB / 3.454 GB, free: 98.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/8.169, allocations: 171.6 kB / 3.454 GB, free: 98.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/8.169, allocations: 17.88 kB / 3.454 GB, free: 98.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/8.171, allocations: 125.2 kB / 3.454 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/8.171, allocations: 46.42 kB / 3.454 GB, free: 98.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 1 * 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.0002234/8.171, allocations: 135.8 kB / 3.454 GB, free: 97.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/8.171, allocations: 84.5 kB / 3.454 GB, free: 97.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/8.173, allocations: 0.601 MB / 3.455 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/8.173, allocations: 9.406 kB / 3.455 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/8.173, allocations: 1.219 kB / 3.455 GB, free: 97.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000928/8.174, allocations: 0.5221 MB / 3.456 GB, free: 97.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/8.177, allocations: 1.56 MB / 3.457 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/8.177, allocations: 4.625 kB / 3.457 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/8.178, allocations: 116.4 kB / 3.457 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/8.178, allocations: 2.875 kB / 3.457 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/8.178, allocations: 9.562 kB / 3.457 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/8.178, allocations: 3.312 kB / 3.457 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/8.178, allocations: 5.969 kB / 3.457 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001636/8.179, allocations: 1.196 MB / 3.458 GB, free: 95.99 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002343/8.182, allocations: 2.004 MB / 3.46 GB, free: 94.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/8.182, allocations: 239.2 kB / 3.461 GB, free: 94.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/8.183, allocations: 2.5 kB / 3.461 GB, free: 94.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/8.183, allocations: 61.22 kB / 3.461 GB, free: 94.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/8.184, allocations: 28.52 kB / 3.461 GB, free: 94.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/8.184, allocations: 27.38 kB / 3.461 GB, free: 94.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006959/8.184, allocations: 431.6 kB / 3.461 GB, free: 94.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002882/8.187, allocations: 0.6944 MB / 3.462 GB, free: 93.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.00349/8.191, allocations: 2.174 MB / 3.464 GB, free: 93.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001308/8.192, allocations: 0.6389 MB / 3.465 GB, free: 93.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/8.192, allocations: 4 kB / 3.465 GB, free: 93.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/8.192, allocations: 273 kB / 3.465 GB, free: 92.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/8.195, allocations: 360.8 kB / 3.465 GB, free: 92.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/8.199, allocations: 1.578 MB / 3.467 GB, free: 92.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/8.2, allocations: 1.269 MB / 3.468 GB, free: 91.52 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/8.2, allocations: 0 / 3.468 GB, free: 91.52 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)