Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001426/0.001425, allocations: 191.8 kB / 366.3 MB, free: 2.008 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.372/1.372, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0009596/0.0009593, allocations: 87.28 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2693/0.2703, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.8927, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/5.006, allocations: 2.062 GB / 3.034 GB, free: 11.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.007, allocations: 84.7 kB / 3.034 GB, free: 11.02 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.9417/5.948, allocations: 222.5 MB / 3.252 GB, free: 171.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/5.948, allocations: 8 kB / 3.252 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/5.949, allocations: 91.52 kB / 3.252 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/5.95, allocations: 295.3 kB / 3.252 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/5.95, allocations: 4 kB / 3.252 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/5.95, allocations: 12 kB / 3.252 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002955/5.95, allocations: 151.9 kB / 3.252 GB, free: 170.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/5.951, allocations: 240.1 kB / 3.253 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/5.951, allocations: 0 / 3.253 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/5.951, allocations: 4 kB / 3.253 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/5.951, allocations: 4 kB / 3.253 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/5.952, allocations: 1.444 MB / 3.254 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/5.953, allocations: 133.1 kB / 3.254 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/5.953, allocations: 76.34 kB / 3.254 GB, free: 168.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/5.953, allocations: 121 kB / 3.254 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/5.953, allocations: 34.56 kB / 3.254 GB, free: 168.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.694e-06/5.953, allocations: 0 / 3.254 GB, free: 168.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005026/5.954, allocations: 141.3 kB / 3.254 GB, free: 168.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/5.954, allocations: 162.1 kB / 3.255 GB, free: 168.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/5.954, allocations: 207.9 kB / 3.255 GB, free: 167.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/5.954, allocations: 25.7 kB / 3.255 GB, free: 167.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/5.954, allocations: 152 kB / 3.255 GB, free: 167.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/5.954, allocations: 39.39 kB / 3.255 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/5.954, allocations: 4.125 kB / 3.255 GB, free: 167.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/5.954, allocations: 330.8 kB / 3.255 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/5.954, allocations: 51.97 kB / 3.255 GB, free: 167.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/5.954, allocations: 130.2 kB / 3.256 GB, free: 167.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/5.955, allocations: 95.91 kB / 3.256 GB, free: 167.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/5.955, allocations: 0 / 3.256 GB, free: 167.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005227/5.955, allocations: 233.1 kB / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/5.955, allocations: 8 kB / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/5.955, allocations: 0 / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/5.955, allocations: 4 kB / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/5.955, allocations: 39.97 kB / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/5.955, allocations: 12 kB / 3.256 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/5.956, allocations: 28.08 kB / 3.256 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/5.956, allocations: 15.98 kB / 3.256 GB, free: 166.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.785e-05/5.956, allocations: 105 kB / 3.256 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/5.956, allocations: 23.72 kB / 3.256 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/5.956, allocations: 123.4 kB / 3.256 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/5.956, allocations: 3.984 kB / 3.256 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/5.956, allocations: 4 kB / 3.256 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/5.956, allocations: 0 / 3.256 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/5.957, allocations: 0.7931 MB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/5.957, allocations: 4.031 kB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/5.957, allocations: 31.92 kB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/5.957, allocations: 4 kB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/5.957, allocations: 3.938 kB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/5.957, allocations: 7.984 kB / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.957, allocations: 0 / 3.257 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004156/5.958, allocations: 367.9 kB / 3.257 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000673/5.958, allocations: 0.8092 MB / 3.258 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/5.959, allocations: 116.8 kB / 3.258 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/5.959, allocations: 128 / 3.258 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/5.959, allocations: 24.23 kB / 3.258 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/5.959, allocations: 19.83 kB / 3.258 GB, free: 164.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/5.959, allocations: 4 kB / 3.258 GB, free: 164.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001287/5.959, allocations: 164.5 kB / 3.258 GB, free: 163.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001674/5.961, allocations: 287.8 kB / 3.259 GB, free: 163.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.001941/5.963, allocations: 1.171 MB / 3.26 GB, free: 162.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002331/5.963, allocations: 111.8 kB / 3.26 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/5.963, allocations: 0.5 kB / 3.26 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/5.963, allocations: 43.94 kB / 3.26 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/5.963, allocations: 56.56 kB / 3.26 GB, free: 162.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/5.964, allocations: 360.5 kB / 3.26 GB, free: 161.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/5.965, allocations: 0.798 MB / 3.261 GB, free: 161.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/5.965, allocations: 0 / 3.261 GB, free: 161.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)