Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",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/Buildings 10.0.0-master/package.mo): time 2.134/2.134, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 181.2 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 91.11 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.641/0.6421, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.9246, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.945/4.87, allocations: 1.869 GB / 3.081 GB, free: 430 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/4.87, allocations: 91.61 kB / 3.081 GB, free: 430 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.583/5.453, allocations: 306.9 MB / 3.38 GB, free: 127.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/5.453, allocations: 11.94 kB / 3.38 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/5.454, allocations: 139.3 kB / 3.381 GB, free: 127.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/5.455, allocations: 334 kB / 3.381 GB, free: 126.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/5.455, allocations: 46.36 kB / 3.381 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/5.455, allocations: 16 kB / 3.381 GB, free: 126.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004151/5.455, allocations: 213.2 kB / 3.381 GB, free: 126.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/5.456, allocations: 294 kB / 3.381 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/5.456, allocations: 0 / 3.381 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/5.456, allocations: 4 kB / 3.381 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/5.456, allocations: 8 kB / 3.381 GB, free: 126.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/5.458, allocations: 1.421 MB / 3.383 GB, free: 124.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/5.458, allocations: 174.5 kB / 3.383 GB, free: 124.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/5.458, allocations: 104.8 kB / 3.383 GB, free: 124.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008505/5.459, allocations: 0.5014 MB / 3.384 GB, free: 123.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/5.459, allocations: 38.5 kB / 3.384 GB, free: 123.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 2.003e-06/5.459, allocations: 0 / 3.384 GB, free: 123.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.001038/5.46, allocations: 285.4 kB / 3.384 GB, free: 123.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/5.46, allocations: 55.41 kB / 3.384 GB, free: 123.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/5.46, allocations: 189.1 kB / 3.384 GB, free: 123.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/5.46, allocations: 29.64 kB / 3.384 GB, free: 123.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/5.46, allocations: 176 kB / 3.384 GB, free: 123.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/5.46, allocations: 47.27 kB / 3.384 GB, free: 123 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/5.461, allocations: 0 / 3.384 GB, free: 123 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/5.461, allocations: 334.8 kB / 3.385 GB, free: 122.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/5.461, allocations: 67.97 kB / 3.385 GB, free: 122.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/5.461, allocations: 131.6 kB / 3.385 GB, free: 122.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/5.461, allocations: 147.9 kB / 3.385 GB, free: 122.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/5.461, allocations: 0 / 3.385 GB, free: 122.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007093/5.462, allocations: 282.8 kB / 3.385 GB, free: 122.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/5.462, allocations: 10.84 kB / 3.385 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.462, allocations: 4 kB / 3.385 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/5.462, allocations: 0 / 3.385 GB, free: 122.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/5.462, allocations: 47.91 kB / 3.385 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/5.462, allocations: 4 kB / 3.385 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/5.463, allocations: 31.73 kB / 3.385 GB, free: 122 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/5.463, allocations: 19.98 kB / 3.385 GB, free: 121.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.531e-05/5.463, allocations: 109.6 kB / 3.385 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/5.463, allocations: 19.72 kB / 3.385 GB, free: 121.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/5.464, allocations: 322.4 kB / 3.386 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/5.464, allocations: 0 / 3.386 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/5.464, allocations: 3.984 kB / 3.386 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/5.464, allocations: 3.906 kB / 3.386 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/5.466, allocations: 1.238 MB / 3.387 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/5.466, allocations: 4.469 kB / 3.387 GB, free: 120.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/5.466, allocations: 47.91 kB / 3.387 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/5.466, allocations: 4 kB / 3.387 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/5.466, allocations: 8 kB / 3.387 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/5.466, allocations: 4 kB / 3.387 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.466, allocations: 4 kB / 3.387 GB, free: 120 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006118/5.467, allocations: 0.5266 MB / 3.388 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009587/5.468, allocations: 0.9605 MB / 3.389 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/5.468, allocations: 132.7 kB / 3.389 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/5.468, allocations: 8 kB / 3.389 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/5.468, allocations: 35.88 kB / 3.389 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/5.468, allocations: 19.92 kB / 3.389 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/5.468, allocations: 12 kB / 3.389 GB, free: 118.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001061/5.468, allocations: 153.2 kB / 3.389 GB, free: 117.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00175/5.47, allocations: 347.7 kB / 3.389 GB, free: 117.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002134/5.472, allocations: 1.406 MB / 3.391 GB, free: 116.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003349/5.473, allocations: 183.8 kB / 3.391 GB, free: 116 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/5.473, allocations: 0 / 3.391 GB, free: 116 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/5.473, allocations: 103.8 kB / 3.391 GB, free: 115.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/5.473, allocations: 89.34 kB / 3.391 GB, free: 115.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008453/5.474, allocations: 434.1 kB / 3.391 GB, free: 115.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/5.475, allocations: 0.8216 MB / 3.392 GB, free: 114.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/5.475, allocations: 0 / 3.392 GB, free: 114.4 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)