Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7755/0.7755, allocations: 141.8 MB / 149.1 MB, free: 4.547 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 181.2 kB / 182 MB, free: 176 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.3 MB / 436 MB, free: 9.312 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009534, allocations: 96.16 kB / 0.507 GB, free: 24.36 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 277.5 kB / 0.5885 GB, free: 12.33 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.1918, allocations: 89.64 MB / 0.676 GB, free: 2.613 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.6256, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.714/4.34, allocations: 1.826 GB / 2.583 GB, free: 254.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/4.34, allocations: 91.08 kB / 2.583 GB, free: 254.4 MB / 0.6982 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.4134/4.753, allocations: 224.7 MB / 2.803 GB, free: 25.32 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/4.753, allocations: 15.94 kB / 2.803 GB, free: 25.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007654/4.754, allocations: 83.52 kB / 2.803 GB, free: 25.22 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/4.755, allocations: 295.4 kB / 2.803 GB, free: 24.89 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/4.755, allocations: 4 kB / 2.803 GB, free: 24.89 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/4.755, allocations: 16 kB / 2.803 GB, free: 24.87 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002637/4.755, allocations: 151.9 kB / 2.803 GB, free: 24.72 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/4.755, allocations: 232.5 kB / 2.804 GB, free: 24.47 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/4.755, allocations: 0 / 2.804 GB, free: 24.47 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/4.755, allocations: 4 kB / 2.804 GB, free: 24.46 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/4.755, allocations: 11.91 kB / 2.804 GB, free: 24.45 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/4.757, allocations: 1.441 MB / 2.805 GB, free: 22.89 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/4.757, allocations: 133.1 kB / 2.805 GB, free: 22.71 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/4.757, allocations: 72.39 kB / 2.805 GB, free: 22.63 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/4.758, allocations: 113.1 kB / 2.805 GB, free: 22.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/4.758, allocations: 50.5 kB / 2.805 GB, free: 22.44 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/4.758, allocations: 0 / 2.805 GB, free: 22.44 MB / 0.6982 GB Notification: Performance of matching and sorting (n=10): time 0.0004403/4.758, allocations: 141.3 kB / 2.805 GB, free: 22.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/4.758, allocations: 158.2 kB / 2.806 GB, free: 22.11 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/4.758, allocations: 203.9 kB / 2.806 GB, free: 21.89 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/4.758, allocations: 33.77 kB / 2.806 GB, free: 21.86 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/4.758, allocations: 148 kB / 2.806 GB, free: 21.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/4.758, allocations: 43.39 kB / 2.806 GB, free: 21.66 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/4.758, allocations: 4 kB / 2.806 GB, free: 21.66 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.477e-05/4.758, allocations: 326.8 kB / 2.806 GB, free: 21.33 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/4.758, allocations: 47.97 kB / 2.806 GB, free: 21.28 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/4.759, allocations: 134.3 kB / 2.807 GB, free: 21.11 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/4.759, allocations: 103.8 kB / 2.807 GB, free: 21.01 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/4.759, allocations: 0 / 2.807 GB, free: 21.01 MB / 0.6982 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004564/4.759, allocations: 217.2 kB / 2.807 GB, free: 20.79 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/4.759, allocations: 8 kB / 2.807 GB, free: 20.79 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/4.759, allocations: 0 / 2.807 GB, free: 20.79 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/4.759, allocations: 4 kB / 2.807 GB, free: 20.78 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/4.76, allocations: 52.16 kB / 2.807 GB, free: 20.73 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/4.76, allocations: 4.125 kB / 2.807 GB, free: 20.73 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/4.76, allocations: 27.83 kB / 2.807 GB, free: 20.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/4.76, allocations: 12 kB / 2.807 GB, free: 20.69 MB / 0.6982 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.114e-05/4.76, allocations: 112.8 kB / 2.807 GB, free: 20.57 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/4.76, allocations: 19.81 kB / 2.807 GB, free: 20.55 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/4.76, allocations: 119.3 kB / 2.807 GB, free: 20.43 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/4.76, allocations: 0 / 2.807 GB, free: 20.43 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/4.76, allocations: 4 kB / 2.807 GB, free: 20.43 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/4.76, allocations: 0 / 2.807 GB, free: 20.43 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/4.761, allocations: 0.8085 MB / 2.808 GB, free: 19.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/4.761, allocations: 0 / 2.808 GB, free: 19.55 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/4.761, allocations: 23.98 kB / 2.808 GB, free: 19.53 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/4.761, allocations: 7.984 kB / 2.808 GB, free: 19.52 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/4.761, allocations: 3.906 kB / 2.808 GB, free: 19.52 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/4.761, allocations: 8.156 kB / 2.808 GB, free: 19.51 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/4.761, allocations: 0 / 2.808 GB, free: 19.51 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003873/4.762, allocations: 368 kB / 2.808 GB, free: 19.09 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005961/4.762, allocations: 0.8207 MB / 2.809 GB, free: 18.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/4.762, allocations: 116.8 kB / 2.809 GB, free: 18.07 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/4.762, allocations: 4.062 kB / 2.809 GB, free: 18.07 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/4.763, allocations: 19.89 kB / 2.809 GB, free: 18.05 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/4.763, allocations: 4 kB / 2.809 GB, free: 18.04 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/4.763, allocations: 4 kB / 2.809 GB, free: 18.04 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000104/4.763, allocations: 164.5 kB / 2.809 GB, free: 17.88 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001406/4.764, allocations: 295.8 kB / 2.81 GB, free: 17.59 MB / 0.6982 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.001523/4.766, allocations: 1.177 MB / 2.811 GB, free: 16.41 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0002073/4.766, allocations: 111.8 kB / 2.811 GB, free: 16.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/4.766, allocations: 0.5 kB / 2.811 GB, free: 16.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 6.357e-05/4.766, allocations: 47.98 kB / 2.811 GB, free: 16.26 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/4.766, allocations: 57.36 kB / 2.811 GB, free: 16.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/4.767, allocations: 348.6 kB / 2.811 GB, free: 15.82 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/4.767, allocations: 0.7902 MB / 2.812 GB, free: 15.01 MB / 0.6982 GB Notification: Performance of SimCode: time 5.11e-07/4.767, allocations: 0 / 2.812 GB, free: 15.01 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)