Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.647/2.647, allocations: 284.8 MB / 292.1 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 177.3 kB / 360.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 0.6187 GB, free: 5.172 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 90.55 kB / 0.7317 GB, free: 53.57 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2844/0.2858, allocations: 121.4 MB / 0.8502 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.5588, allocations: 115.3 MB / 0.9628 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.794, allocations: 2.063 GB / 3.026 GB, free: 134.9 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/5.794, allocations: 84.56 kB / 3.026 GB, free: 134.9 MB / 0.9512 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 1.445/7.239, allocations: 304 MB / 3.323 GB, free: 222.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/7.239, allocations: 12.5 kB / 3.323 GB, free: 222.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/7.241, allocations: 139.3 kB / 3.323 GB, free: 222.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/7.241, allocations: 335.1 kB / 3.323 GB, free: 222.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/7.242, allocations: 46.34 kB / 3.323 GB, free: 222.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/7.242, allocations: 16 kB / 3.323 GB, free: 222.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005998/7.242, allocations: 209.3 kB / 3.323 GB, free: 221.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/7.243, allocations: 305.9 kB / 3.324 GB, free: 221.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/7.243, allocations: 4 kB / 3.324 GB, free: 221.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/7.243, allocations: 3.984 kB / 3.324 GB, free: 221.6 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/7.243, allocations: 4 kB / 3.324 GB, free: 221.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/7.245, allocations: 1.425 MB / 3.325 GB, free: 220.1 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/7.246, allocations: 170.5 kB / 3.325 GB, free: 219.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/7.246, allocations: 92.81 kB / 3.325 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/7.247, allocations: 0.4986 MB / 3.326 GB, free: 219.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/7.247, allocations: 42.56 kB / 3.326 GB, free: 219.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/7.247, allocations: 0 / 3.326 GB, free: 219.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.001556/7.249, allocations: 277.2 kB / 3.326 GB, free: 218.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/7.249, allocations: 55.41 kB / 3.326 GB, free: 218.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/7.249, allocations: 197.2 kB / 3.326 GB, free: 218.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/7.249, allocations: 25.7 kB / 3.326 GB, free: 218.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/7.249, allocations: 164 kB / 3.326 GB, free: 218.4 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/7.25, allocations: 59.2 kB / 3.327 GB, free: 218.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/7.25, allocations: 0 / 3.327 GB, free: 218.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/7.25, allocations: 330.8 kB / 3.327 GB, free: 218 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/7.25, allocations: 71.91 kB / 3.327 GB, free: 218 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/7.25, allocations: 141.6 kB / 3.327 GB, free: 217.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/7.251, allocations: 133 kB / 3.327 GB, free: 217.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.251, allocations: 3.938 kB / 3.327 GB, free: 217.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001145/7.252, allocations: 292.5 kB / 3.327 GB, free: 217.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/7.252, allocations: 8.188 kB / 3.327 GB, free: 217.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/7.252, allocations: 4 kB / 3.327 GB, free: 217.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/7.252, allocations: 0 / 3.327 GB, free: 217.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/7.252, allocations: 47.91 kB / 3.327 GB, free: 217.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/7.253, allocations: 4 kB / 3.327 GB, free: 217.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/7.253, allocations: 35.81 kB / 3.328 GB, free: 217.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/7.253, allocations: 8 kB / 3.328 GB, free: 217.3 MB / 0.9512 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 0.0001052/7.253, allocations: 116.8 kB / 3.328 GB, free: 217.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/7.253, allocations: 23.72 kB / 3.328 GB, free: 217.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/7.255, allocations: 314.2 kB / 3.328 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/7.255, allocations: 3.938 kB / 3.328 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/7.255, allocations: 64 / 3.328 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/7.255, allocations: 8 kB / 3.328 GB, free: 216.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/7.258, allocations: 1.24 MB / 3.329 GB, free: 215.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/7.258, allocations: 3.938 kB / 3.329 GB, free: 215.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/7.258, allocations: 48.25 kB / 3.329 GB, free: 215.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/7.258, allocations: 4 kB / 3.329 GB, free: 215.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/7.258, allocations: 4 kB / 3.329 GB, free: 215.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/7.258, allocations: 7.906 kB / 3.329 GB, free: 215.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/7.258, allocations: 7.938 kB / 3.329 GB, free: 215.3 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008918/7.259, allocations: 0.531 MB / 3.33 GB, free: 214.7 MB / 0.9512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001181/7.26, allocations: 0.9683 MB / 3.331 GB, free: 213.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/7.26, allocations: 120.8 kB / 3.331 GB, free: 213.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/7.261, allocations: 8 kB / 3.331 GB, free: 213.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/7.261, allocations: 27.97 kB / 3.331 GB, free: 213.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/7.261, allocations: 23.89 kB / 3.331 GB, free: 213.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/7.261, allocations: 11.98 kB / 3.331 GB, free: 213.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0001772/7.261, allocations: 153.2 kB / 3.331 GB, free: 213.2 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002253/7.264, allocations: 351.6 kB / 3.331 GB, free: 212.9 MB / 0.9512 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.002619/7.266, allocations: 1.402 MB / 3.333 GB, free: 211.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006382/7.267, allocations: 184 kB / 3.333 GB, free: 211.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/7.267, allocations: 4 kB / 3.333 GB, free: 211.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/7.267, allocations: 95.83 kB / 3.333 GB, free: 211.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/7.268, allocations: 93.17 kB / 3.333 GB, free: 211.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/7.27, allocations: 434 kB / 3.334 GB, free: 210.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/7.27, allocations: 0.8216 MB / 3.334 GB, free: 209.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/7.27, allocations: 0 / 3.334 GB, free: 209.9 MB / 0.9512 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)