Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.416/2.416, allocations: 248.6 MB / 255.9 MB, free: 7.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001662, allocations: 184.1 kB / 315.1 MB, free: 4.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001303/0.001302, allocations: 93.78 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.438/0.4393, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.7091, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.566/6.275, allocations: 2.18 GB / 3.064 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/6.276, allocations: 82.89 kB / 3.064 GB, free: 188.3 MB / 0.8698 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 1.489/7.765, allocations: 288.8 MB / 3.346 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/7.765, allocations: 13.27 kB / 3.346 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/7.765, allocations: 62.22 kB / 3.346 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/7.766, allocations: 336.4 kB / 3.346 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/7.766, allocations: 7.625 kB / 3.346 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/7.766, allocations: 21.31 kB / 3.346 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000579/7.767, allocations: 164.8 kB / 3.346 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/7.767, allocations: 254 kB / 3.347 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/7.768, allocations: 0 / 3.347 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/7.768, allocations: 0 / 3.347 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/7.768, allocations: 6.547 kB / 3.347 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/7.77, allocations: 1.083 MB / 3.348 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/7.77, allocations: 140.1 kB / 3.348 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/7.77, allocations: 84.77 kB / 3.348 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/7.771, allocations: 302.7 kB / 3.348 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/7.771, allocations: 36.48 kB / 3.348 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.705e-06/7.771, allocations: 5.312 kB / 3.348 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001303/7.773, allocations: 272.7 kB / 3.349 GB, free: 238 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/7.773, allocations: 53.12 kB / 3.349 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/7.773, allocations: 177.5 kB / 3.349 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/7.773, allocations: 26.61 kB / 3.349 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/7.773, allocations: 151.7 kB / 3.349 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/7.773, allocations: 68.28 kB / 3.349 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/7.773, allocations: 4 kB / 3.349 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/7.773, allocations: 332.1 kB / 3.349 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/7.774, allocations: 53.75 kB / 3.349 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/7.774, allocations: 95.95 kB / 3.35 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/7.774, allocations: 131 kB / 3.35 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-06/7.774, allocations: 3.062 kB / 3.35 GB, free: 237.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009007/7.775, allocations: 253.4 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/7.775, allocations: 8.125 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/7.775, allocations: 1.094 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/7.775, allocations: 1.734 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/7.776, allocations: 43.42 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/7.776, allocations: 1.219 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/7.776, allocations: 33.03 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/7.776, allocations: 8.406 kB / 3.35 GB, free: 237 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 9.884e-05/7.776, allocations: 106.1 kB / 3.35 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/7.776, allocations: 27.03 kB / 3.35 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/7.777, allocations: 281.6 kB / 3.35 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/7.777, allocations: 1.219 kB / 3.35 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/7.778, allocations: 1.484 kB / 3.35 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/7.778, allocations: 0.6562 kB / 3.35 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/7.779, allocations: 0.7286 MB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/7.779, allocations: 2.781 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/7.78, allocations: 39.8 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/7.78, allocations: 4.344 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/7.78, allocations: 6.703 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/7.78, allocations: 10.91 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/7.78, allocations: 2.531 kB / 3.351 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001164/7.781, allocations: 0.5585 MB / 3.352 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001634/7.783, allocations: 1.072 MB / 3.353 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/7.783, allocations: 112.5 kB / 3.353 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/7.783, allocations: 7.359 kB / 3.353 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/7.784, allocations: 24.3 kB / 3.353 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/7.784, allocations: 19.61 kB / 3.353 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/7.784, allocations: 10.16 kB / 3.353 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001789/7.784, allocations: 148 kB / 3.353 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002089/7.786, allocations: 302.5 kB / 3.353 GB, free: 234.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.00248/7.788, allocations: 1.354 MB / 3.355 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006054/7.789, allocations: 154.8 kB / 3.355 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/7.789, allocations: 1.062 kB / 3.355 GB, free: 233.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/7.789, allocations: 87.94 kB / 3.355 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/7.79, allocations: 75.97 kB / 3.355 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/7.792, allocations: 0.4931 MB / 3.355 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/7.792, allocations: 0.8179 MB / 3.356 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of SimCode: time 9.62e-07/7.792, allocations: 0 / 3.356 GB, free: 232.6 MB / 0.8698 GB