Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 185.6 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4968/0.4968, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 96.88 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.1788, allocations: 78.45 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.6076, allocations: 72.3 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.418/4.026, allocations: 1.82 GB / 2.373 GB, free: 237.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/4.026, allocations: 84.62 kB / 2.373 GB, free: 237.9 MB / 0.6042 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.3997/4.426, allocations: 224.6 MB / 2.592 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/4.426, allocations: 8 kB / 2.592 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007771/4.427, allocations: 83.61 kB / 2.592 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/4.427, allocations: 295.3 kB / 2.592 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/4.427, allocations: 12 kB / 2.592 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/4.427, allocations: 15.91 kB / 2.592 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002782/4.428, allocations: 151.9 kB / 2.593 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/4.428, allocations: 232.5 kB / 2.593 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/4.428, allocations: 0 / 2.593 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/4.428, allocations: 4 kB / 2.593 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/4.428, allocations: 7.938 kB / 2.593 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/4.43, allocations: 1.441 MB / 2.594 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/4.43, allocations: 141 kB / 2.594 GB, free: 12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/4.43, allocations: 68.41 kB / 2.594 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/4.43, allocations: 125.1 kB / 2.594 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/4.43, allocations: 38.56 kB / 2.595 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/4.43, allocations: 0 / 2.595 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004831/4.431, allocations: 141.3 kB / 2.595 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/4.431, allocations: 154.2 kB / 2.595 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/4.431, allocations: 212 kB / 2.595 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/4.431, allocations: 29.7 kB / 2.595 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/4.431, allocations: 155.9 kB / 2.595 GB, free: 11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/4.431, allocations: 31.55 kB / 2.595 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/4.431, allocations: 0 / 2.595 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/4.431, allocations: 330.7 kB / 2.596 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/4.431, allocations: 51.97 kB / 2.596 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/4.431, allocations: 143.3 kB / 2.596 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/4.432, allocations: 91.91 kB / 2.596 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/4.432, allocations: 4 kB / 2.596 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005046/4.432, allocations: 221.2 kB / 2.596 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/4.432, allocations: 4 kB / 2.596 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/4.432, allocations: 8.016 kB / 2.596 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/4.432, allocations: 4 kB / 2.596 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/4.432, allocations: 40.23 kB / 2.596 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/4.433, allocations: 11.83 kB / 2.596 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/4.433, allocations: 31.81 kB / 2.596 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/4.433, allocations: 8 kB / 2.596 GB, free: 9.984 MB / 0.6042 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 6.514e-05/4.433, allocations: 113 kB / 2.596 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/4.433, allocations: 15.81 kB / 2.596 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/4.433, allocations: 127.3 kB / 2.596 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/4.433, allocations: 4 kB / 2.596 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/4.433, allocations: 0 / 2.596 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/4.433, allocations: 4 kB / 2.596 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/4.434, allocations: 0.793 MB / 2.597 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/4.434, allocations: 4 kB / 2.597 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/4.434, allocations: 27.92 kB / 2.597 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/4.434, allocations: 3.984 kB / 2.597 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/4.434, allocations: 4.156 kB / 2.597 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/4.434, allocations: 8 kB / 2.597 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.434, allocations: 0 / 2.597 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003849/4.435, allocations: 367.9 kB / 2.598 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005749/4.435, allocations: 0.8091 MB / 2.598 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/4.435, allocations: 117 kB / 2.598 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/4.435, allocations: 7.984 kB / 2.598 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/4.436, allocations: 11.94 kB / 2.598 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/4.436, allocations: 8.109 kB / 2.598 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/4.436, allocations: 12 kB / 2.598 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001063/4.436, allocations: 172.5 kB / 2.599 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00136/4.437, allocations: 287.7 kB / 2.599 GB, free: 6.902 MB / 0.6042 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.001229/4.438, allocations: 1.176 MB / 2.6 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002135/4.439, allocations: 115.8 kB / 2.6 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/4.439, allocations: 0 / 2.6 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/4.439, allocations: 43.94 kB / 2.6 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/4.439, allocations: 61.36 kB / 2.6 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/4.44, allocations: 340.6 kB / 2.601 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/4.44, allocations: 0.7863 MB / 2.601 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/4.44, allocations: 0 / 2.601 GB, free: 4.328 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)