Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.6987/0.6987, allocations: 127.4 MB / 134.6 MB, free: 9.777 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 183.6 kB / 164.4 MB, free: 5.449 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 399.1 MB, free: 3.023 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 105 kB / 476.3 MB, free: 2.605 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2269/0.2278, allocations: 82.88 MB / 0.5461 GB, free: 15.67 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.722, allocations: 76.74 MB / 0.621 GB, free: 86.64 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.77/5.492, allocations: 2.136 GB / 2.757 GB, free: 85.43 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/5.492, allocations: 83.95 kB / 2.757 GB, free: 85.35 MB / 0.6433 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.9554/6.447, allocations: 222.6 MB / 2.975 GB, free: 120.5 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/6.447, allocations: 8 kB / 2.975 GB, free: 120.5 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/6.448, allocations: 79.61 kB / 2.975 GB, free: 120.4 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/6.449, allocations: 291 kB / 2.975 GB, free: 120.1 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/6.449, allocations: 4 kB / 2.975 GB, free: 120.1 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/6.449, allocations: 12 kB / 2.975 GB, free: 120.1 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003178/6.449, allocations: 157.3 kB / 2.975 GB, free: 119.9 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/6.45, allocations: 221 kB / 2.975 GB, free: 119.7 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/6.45, allocations: 0 / 2.975 GB, free: 119.7 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/6.45, allocations: 0 / 2.975 GB, free: 119.7 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/6.45, allocations: 7.984 kB / 2.975 GB, free: 119.7 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/6.451, allocations: 1.132 MB / 2.976 GB, free: 118.5 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/6.452, allocations: 70.75 kB / 2.977 GB, free: 118.4 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/6.452, allocations: 52.75 kB / 2.977 GB, free: 118.3 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/6.452, allocations: 117.2 kB / 2.977 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/6.452, allocations: 46.5 kB / 2.977 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/6.452, allocations: 0 / 2.977 GB, free: 118.2 MB / 0.6433 GB Notification: Performance of matching and sorting (n=9): time 0.000385/6.452, allocations: 117.4 kB / 2.977 GB, free: 118 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/6.452, allocations: 55.41 kB / 2.977 GB, free: 118 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/6.453, allocations: 194.1 kB / 2.977 GB, free: 117.8 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/6.453, allocations: 25.7 kB / 2.977 GB, free: 117.7 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/6.453, allocations: 159.7 kB / 2.977 GB, free: 117.6 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/6.453, allocations: 31.55 kB / 2.977 GB, free: 117.6 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/6.453, allocations: 96 / 2.977 GB, free: 117.6 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/6.453, allocations: 334.8 kB / 2.978 GB, free: 117.2 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/6.453, allocations: 51.97 kB / 2.978 GB, free: 117.2 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/6.453, allocations: 112.6 kB / 2.978 GB, free: 117 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/6.453, allocations: 103.8 kB / 2.978 GB, free: 116.9 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/6.453, allocations: 7.938 kB / 2.978 GB, free: 116.9 MB / 0.6433 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004832/6.454, allocations: 215 kB / 2.978 GB, free: 116.7 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/6.454, allocations: 4.219 kB / 2.978 GB, free: 116.7 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/6.454, allocations: 8 kB / 2.978 GB, free: 116.7 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/6.454, allocations: 4 kB / 2.978 GB, free: 116.7 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/6.454, allocations: 31.98 kB / 2.978 GB, free: 116.7 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/6.454, allocations: 11.92 kB / 2.978 GB, free: 116.6 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/6.454, allocations: 27.84 kB / 2.978 GB, free: 116.6 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/6.454, allocations: 12.03 kB / 2.978 GB, free: 116.6 MB / 0.6433 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.602e-05/6.454, allocations: 105 kB / 2.978 GB, free: 116.5 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/6.454, allocations: 23.7 kB / 2.978 GB, free: 116.5 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/6.455, allocations: 138.9 kB / 2.978 GB, free: 116.3 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/6.455, allocations: 0 / 2.978 GB, free: 116.3 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/6.455, allocations: 0 / 2.978 GB, free: 116.3 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/6.455, allocations: 0 / 2.978 GB, free: 116.3 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/6.455, allocations: 494 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/6.455, allocations: 3.906 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/6.455, allocations: 27.97 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/6.455, allocations: 0 / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/6.456, allocations: 8.125 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/6.456, allocations: 4.062 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.456, allocations: 7.938 kB / 2.979 GB, free: 115.8 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003962/6.456, allocations: 333.4 kB / 2.979 GB, free: 115.4 MB / 0.6433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006222/6.457, allocations: 0.7872 MB / 2.98 GB, free: 114.5 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/6.457, allocations: 108.8 kB / 2.98 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/6.457, allocations: 7.984 kB / 2.98 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/6.457, allocations: 16.05 kB / 2.98 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/6.457, allocations: 4 kB / 2.98 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/6.457, allocations: 8 kB / 2.98 GB, free: 114.4 MB / 0.6433 GB Notification: Performance of sort global known variables: time 0.0001137/6.457, allocations: 156.7 kB / 2.98 GB, free: 114.2 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.001541/6.459, allocations: 283.8 kB / 2.981 GB, free: 113.9 MB / 0.6433 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001812/6.46, allocations: 1.184 MB / 2.982 GB, free: 112.8 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.0002288/6.461, allocations: 112.1 kB / 2.982 GB, free: 112.7 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/6.461, allocations: 4.125 kB / 2.982 GB, free: 112.7 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/6.461, allocations: 35.94 kB / 2.982 GB, free: 112.7 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/6.461, allocations: 61.06 kB / 2.982 GB, free: 112.6 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/6.462, allocations: 331.8 kB / 2.982 GB, free: 112.2 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/6.462, allocations: 0.7897 MB / 2.983 GB, free: 111.4 MB / 0.6433 GB Notification: Performance of SimCode: time 2.51e-07/6.462, allocations: 0 / 2.983 GB, free: 111.4 MB / 0.6433 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)