Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.425/1.425, allocations: 285.5 MB / 292.8 MB, free: 9.895 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.0009875/0.0009876, allocations: 189.2 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 0.6195 GB, free: 2.961 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 97.44 kB / 0.7326 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4781/0.479, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.6757, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.952/4.628, allocations: 2.061 GB / 3.025 GB, free: 204.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/4.628, allocations: 91.94 kB / 3.025 GB, free: 204 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.9269/5.555, allocations: 298 MB / 3.316 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/5.555, allocations: 8.969 kB / 3.316 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/5.556, allocations: 62.55 kB / 3.316 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/5.556, allocations: 321.2 kB / 3.317 GB, free: 262.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/5.556, allocations: 8.562 kB / 3.317 GB, free: 262.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/5.556, allocations: 20.78 kB / 3.317 GB, free: 262.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003287/5.557, allocations: 143.7 kB / 3.317 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/5.557, allocations: 258.7 kB / 3.317 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/5.557, allocations: 0 / 3.317 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/5.557, allocations: 1.125 kB / 3.317 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/5.557, allocations: 6.344 kB / 3.317 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/5.559, allocations: 1.476 MB / 3.319 GB, free: 260.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/5.559, allocations: 89.06 kB / 3.319 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/5.559, allocations: 77.64 kB / 3.319 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004667/5.559, allocations: 304.9 kB / 3.319 GB, free: 260.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/5.559, allocations: 35.88 kB / 3.319 GB, free: 260.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/5.559, allocations: 0 / 3.319 GB, free: 260.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0005991/5.56, allocations: 209.7 kB / 3.319 GB, free: 260.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/5.56, allocations: 56.66 kB / 3.319 GB, free: 260.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/5.56, allocations: 184.2 kB / 3.319 GB, free: 260 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/5.56, allocations: 25.7 kB / 3.319 GB, free: 260 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/5.56, allocations: 172.5 kB / 3.32 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/5.56, allocations: 43.23 kB / 3.32 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-06/5.56, allocations: 1.219 kB / 3.32 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/5.56, allocations: 335.2 kB / 3.32 GB, free: 259.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/5.56, allocations: 43.08 kB / 3.32 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/5.561, allocations: 107.2 kB / 3.32 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/5.561, allocations: 85.55 kB / 3.32 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.561, allocations: 5 kB / 3.32 GB, free: 259.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003666/5.561, allocations: 202.4 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/5.561, allocations: 9.125 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/5.561, allocations: 1.688 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/5.561, allocations: 2.219 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/5.561, allocations: 35.97 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/5.561, allocations: 6.375 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/5.562, allocations: 31.47 kB / 3.32 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/5.562, allocations: 14.19 kB / 3.321 GB, free: 259.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.268e-05/5.562, allocations: 111 kB / 3.321 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/5.562, allocations: 21.94 kB / 3.321 GB, free: 259 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/5.562, allocations: 196.4 kB / 3.321 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/5.562, allocations: 0.9062 kB / 3.321 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.562, allocations: 3.906 kB / 3.321 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/5.562, allocations: 0.8125 kB / 3.321 GB, free: 258.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/5.563, allocations: 0.6264 MB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/5.563, allocations: 2.531 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/5.563, allocations: 36.52 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/5.563, allocations: 7.188 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/5.563, allocations: 10.23 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/5.563, allocations: 2.875 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/5.563, allocations: 2.344 kB / 3.321 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003882/5.564, allocations: 411.4 kB / 3.322 GB, free: 258 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005872/5.564, allocations: 0.8273 MB / 3.323 GB, free: 257.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/5.564, allocations: 115.7 kB / 3.323 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/5.564, allocations: 6.891 kB / 3.323 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/5.565, allocations: 16.55 kB / 3.323 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/5.565, allocations: 21.14 kB / 3.323 GB, free: 257 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/5.565, allocations: 9.281 kB / 3.323 GB, free: 257 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001191/5.565, allocations: 147.8 kB / 3.323 GB, free: 256.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001544/5.566, allocations: 288.9 kB / 3.323 GB, free: 256.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001939/5.568, allocations: 1.354 MB / 3.325 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002905/5.569, allocations: 113.6 kB / 3.325 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.569, allocations: 0 / 3.325 GB, free: 256.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/5.569, allocations: 66.23 kB / 3.325 GB, free: 256 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/5.569, allocations: 85.62 kB / 3.325 GB, free: 256 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/5.57, allocations: 355.6 kB / 3.325 GB, free: 255.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/5.57, allocations: 0.8105 MB / 3.326 GB, free: 255 MB / 0.9323 GB Notification: Performance of SimCode: time 2.51e-07/5.57, allocations: 0 / 3.326 GB, free: 255 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)