Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.443/1.443, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.001101/0.001101, allocations: 185.3 kB / 361.1 MB, free: 7.074 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.166/1.166, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008655/0.0008654, allocations: 95.31 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2287/0.2296, allocations: 121.4 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.8148, allocations: 115.3 MB / 0.9637 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.371/4.185, allocations: 2.061 GB / 3.025 GB, free: 94.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/4.186, allocations: 84.89 kB / 3.025 GB, free: 94.71 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.8068/4.992, allocations: 222.5 MB / 3.242 GB, free: 257.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/4.993, allocations: 12.5 kB / 3.242 GB, free: 257.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/4.993, allocations: 83.55 kB / 3.242 GB, free: 257 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/4.994, allocations: 299.4 kB / 3.242 GB, free: 256.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/4.994, allocations: 7.906 kB / 3.242 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/4.994, allocations: 12 kB / 3.242 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/4.994, allocations: 152 kB / 3.242 GB, free: 256.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/4.994, allocations: 239.8 kB / 3.243 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/4.994, allocations: 4 kB / 3.243 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/4.994, allocations: 0 / 3.243 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/4.994, allocations: 11.92 kB / 3.243 GB, free: 256.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/4.996, allocations: 1.434 MB / 3.244 GB, free: 254.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/4.996, allocations: 133.1 kB / 3.244 GB, free: 254.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/4.996, allocations: 76.41 kB / 3.244 GB, free: 254.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/4.996, allocations: 125 kB / 3.244 GB, free: 254.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/4.997, allocations: 34.56 kB / 3.244 GB, free: 254.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.893e-06/4.997, allocations: 0 / 3.244 GB, free: 254.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004785/4.997, allocations: 141.4 kB / 3.245 GB, free: 254.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/4.997, allocations: 162.2 kB / 3.245 GB, free: 253.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/4.997, allocations: 207.8 kB / 3.245 GB, free: 253.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/4.997, allocations: 25.7 kB / 3.245 GB, free: 253.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/4.997, allocations: 152 kB / 3.245 GB, free: 253.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/4.997, allocations: 35.55 kB / 3.245 GB, free: 253.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/4.997, allocations: 0 / 3.245 GB, free: 253.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.413e-05/4.997, allocations: 334.9 kB / 3.245 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/4.997, allocations: 47.97 kB / 3.246 GB, free: 253 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/4.998, allocations: 134.3 kB / 3.246 GB, free: 252.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/4.998, allocations: 103.8 kB / 3.246 GB, free: 252.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/4.998, allocations: 3.938 kB / 3.246 GB, free: 252.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004523/4.998, allocations: 221.3 kB / 3.246 GB, free: 252.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/4.998, allocations: 8 kB / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/4.998, allocations: 0 / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/4.998, allocations: 7.906 kB / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/4.999, allocations: 39.92 kB / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/4.999, allocations: 7.984 kB / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/4.999, allocations: 32.14 kB / 3.246 GB, free: 252.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/4.999, allocations: 12 kB / 3.246 GB, free: 252.4 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 6.761e-05/4.999, allocations: 112.9 kB / 3.246 GB, free: 252.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/4.999, allocations: 23.72 kB / 3.246 GB, free: 252.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/4.999, allocations: 115.3 kB / 3.246 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/4.999, allocations: 4 kB / 3.246 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/4.999, allocations: 4 kB / 3.246 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/4.999, allocations: 3.984 kB / 3.246 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007131/5, allocations: 0.8008 MB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/5, allocations: 160 / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/5, allocations: 27.98 kB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/5, allocations: 4 kB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/5, allocations: 8 kB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/5, allocations: 3.938 kB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/5, allocations: 4 kB / 3.247 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003728/5.001, allocations: 363.9 kB / 3.248 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005714/5.001, allocations: 0.8092 MB / 3.248 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/5.001, allocations: 116.8 kB / 3.248 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/5.001, allocations: 0 / 3.248 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/5.002, allocations: 20.05 kB / 3.248 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/5.002, allocations: 4.188 kB / 3.248 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/5.002, allocations: 8 kB / 3.248 GB, free: 249.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001043/5.002, allocations: 172.3 kB / 3.249 GB, free: 249.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001378/5.003, allocations: 287.8 kB / 3.249 GB, free: 249.4 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.001402/5.005, allocations: 1.194 MB / 3.25 GB, free: 248.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002204/5.005, allocations: 111.8 kB / 3.25 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/5.005, allocations: 0 / 3.25 GB, free: 248.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/5.005, allocations: 44.73 kB / 3.25 GB, free: 248 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/5.005, allocations: 59.3 kB / 3.25 GB, free: 248 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/5.006, allocations: 341.3 kB / 3.251 GB, free: 247.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/5.006, allocations: 0.7941 MB / 3.251 GB, free: 246.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/5.006, allocations: 3.938 kB / 3.251 GB, free: 246.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)