Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.363/1.363, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.5 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.122/1.122, allocations: 205.1 MB / 0.6195 GB, free: 11.94 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 93.33 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2229/0.2238, allocations: 121.4 MB / 0.8511 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.7825, allocations: 115.3 MB / 0.9637 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.537/4.319, allocations: 2.063 GB / 3.027 GB, free: 93.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/4.32, allocations: 85.23 kB / 3.027 GB, free: 93.48 MB / 0.948 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.9701/5.29, allocations: 304.1 MB / 3.324 GB, free: 171.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/5.29, allocations: 8.5 kB / 3.324 GB, free: 171.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/5.291, allocations: 135.4 kB / 3.324 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/5.292, allocations: 345.8 kB / 3.324 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/5.292, allocations: 42.36 kB / 3.324 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/5.292, allocations: 19.91 kB / 3.324 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003786/5.292, allocations: 209.2 kB / 3.324 GB, free: 171 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/5.293, allocations: 306 kB / 3.325 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/5.293, allocations: 0 / 3.325 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/5.293, allocations: 0 / 3.325 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/5.293, allocations: 8 kB / 3.325 GB, free: 170.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/5.294, allocations: 1.408 MB / 3.326 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/5.294, allocations: 166.6 kB / 3.326 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/5.295, allocations: 92.81 kB / 3.326 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/5.295, allocations: 0.5092 MB / 3.327 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/5.295, allocations: 34.56 kB / 3.327 GB, free: 168.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/5.295, allocations: 0 / 3.327 GB, free: 168.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.000958/5.296, allocations: 297.3 kB / 3.327 GB, free: 167.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/5.296, allocations: 51.41 kB / 3.327 GB, free: 167.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/5.296, allocations: 189.1 kB / 3.327 GB, free: 167.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/5.297, allocations: 29.7 kB / 3.327 GB, free: 167.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/5.297, allocations: 168 kB / 3.328 GB, free: 167.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/5.297, allocations: 51.2 kB / 3.328 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/5.297, allocations: 0 / 3.328 GB, free: 167.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/5.297, allocations: 338.8 kB / 3.328 GB, free: 167.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/5.297, allocations: 69 kB / 3.328 GB, free: 167 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/5.297, allocations: 131.7 kB / 3.328 GB, free: 166.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/5.297, allocations: 147.3 kB / 3.328 GB, free: 166.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/5.297, allocations: 0 / 3.328 GB, free: 166.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006709/5.298, allocations: 289 kB / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/5.298, allocations: 4 kB / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/5.298, allocations: 3.938 kB / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/5.298, allocations: 4.188 kB / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/5.298, allocations: 51.97 kB / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/5.298, allocations: 0 / 3.329 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/5.299, allocations: 35.77 kB / 3.329 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/5.299, allocations: 15.98 kB / 3.329 GB, free: 166.3 MB / 0.948 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 7.442e-05/5.299, allocations: 104.9 kB / 3.329 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.299, allocations: 27.72 kB / 3.329 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/5.3, allocations: 307.3 kB / 3.329 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/5.3, allocations: 7.984 kB / 3.329 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/5.3, allocations: 3.984 kB / 3.329 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/5.3, allocations: 4 kB / 3.329 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/5.301, allocations: 1.242 MB / 3.33 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/5.301, allocations: 4 kB / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/5.302, allocations: 36.31 kB / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/5.302, allocations: 15.91 kB / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/5.302, allocations: 4 kB / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/5.302, allocations: 7.938 kB / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.302, allocations: 0 / 3.33 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005595/5.302, allocations: 0.5332 MB / 3.331 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007539/5.303, allocations: 0.9567 MB / 3.332 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/5.303, allocations: 136.7 kB / 3.332 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/5.303, allocations: 4 kB / 3.332 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/5.303, allocations: 27.97 kB / 3.332 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/5.304, allocations: 19.89 kB / 3.332 GB, free: 162.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/5.304, allocations: 20.06 kB / 3.332 GB, free: 162.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.603e-05/5.304, allocations: 157.2 kB / 3.332 GB, free: 162.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001542/5.305, allocations: 343.7 kB / 3.333 GB, free: 161.9 MB / 0.948 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.001809/5.307, allocations: 1.402 MB / 3.334 GB, free: 160.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003024/5.307, allocations: 183.8 kB / 3.334 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.307, allocations: 0 / 3.334 GB, free: 160.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/5.307, allocations: 104.4 kB / 3.334 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/5.308, allocations: 89.84 kB / 3.334 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/5.309, allocations: 434.1 kB / 3.335 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/5.309, allocations: 0.8224 MB / 3.336 GB, free: 158.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/5.309, allocations: 4 kB / 3.336 GB, free: 158.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)