Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.413/2.413, allocations: 248.6 MB / 255.9 MB, free: 1.168 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 188.9 kB / 315.1 MB, free: 9.602 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.1 MB / 0.5658 GB, free: 14.07 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 85.83 kB / 0.67 GB, free: 52.05 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2658/0.2671, allocations: 112.4 MB / 0.7797 GB, free: 10.67 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.5286, allocations: 106.2 MB / 0.8835 GB, free: 320 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/5.957, allocations: 2.179 GB / 3.062 GB, free: 161.8 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/5.957, allocations: 80.7 kB / 3.062 GB, free: 161.7 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 1.233/7.19, allocations: 235.6 MB / 3.292 GB, free: 249.5 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/7.19, allocations: 9.844 kB / 3.292 GB, free: 249.5 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/7.192, allocations: 168.9 kB / 3.292 GB, free: 249.5 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/7.193, allocations: 340.2 kB / 3.293 GB, free: 249.3 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/7.193, allocations: 7.875 kB / 3.293 GB, free: 249.3 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/7.193, allocations: 14.7 kB / 3.293 GB, free: 249.3 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006856/7.194, allocations: 205.1 kB / 3.293 GB, free: 249.3 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/7.195, allocations: 255.9 kB / 3.293 GB, free: 249.2 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/7.195, allocations: 4.375 kB / 3.293 GB, free: 249.2 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/7.195, allocations: 0.5156 kB / 3.293 GB, free: 249.2 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/7.195, allocations: 9.297 kB / 3.293 GB, free: 249.2 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/7.197, allocations: 1.106 MB / 3.294 GB, free: 248.6 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/7.198, allocations: 209.1 kB / 3.294 GB, free: 248.6 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/7.198, allocations: 109.5 kB / 3.294 GB, free: 248.5 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009327/7.199, allocations: 465.3 kB / 3.295 GB, free: 248.1 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/7.199, allocations: 45.16 kB / 3.295 GB, free: 248 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=19): time 3.336e-06/7.199, allocations: 0 / 3.295 GB, free: 248 MB / 0.8777 GB Notification: Performance of matching and sorting (n=19): time 0.001644/7.201, allocations: 257.2 kB / 3.295 GB, free: 248 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/7.201, allocations: 57.12 kB / 3.295 GB, free: 247.9 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/7.201, allocations: 195.3 kB / 3.295 GB, free: 247.8 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/7.201, allocations: 25.7 kB / 3.295 GB, free: 247.8 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/7.201, allocations: 146.2 kB / 3.296 GB, free: 247.7 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/7.201, allocations: 65.8 kB / 3.296 GB, free: 247.7 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/7.201, allocations: 1.156 kB / 3.296 GB, free: 247.7 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/7.202, allocations: 334.4 kB / 3.296 GB, free: 247.3 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/7.202, allocations: 46.2 kB / 3.296 GB, free: 247.3 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/7.202, allocations: 108 kB / 3.296 GB, free: 247.3 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/7.202, allocations: 99.53 kB / 3.296 GB, free: 247.3 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/7.202, allocations: 0.9375 kB / 3.296 GB, free: 247.3 MB / 0.8777 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007665/7.203, allocations: 221.8 kB / 3.296 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/7.203, allocations: 8.781 kB / 3.296 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/7.203, allocations: 5.109 kB / 3.296 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/7.203, allocations: 3.094 kB / 3.296 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/7.204, allocations: 50.81 kB / 3.297 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/7.204, allocations: 3.641 kB / 3.297 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/7.204, allocations: 29.19 kB / 3.297 GB, free: 247.2 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/7.204, allocations: 9.516 kB / 3.297 GB, free: 247.2 MB / 0.8777 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 (22): * Single equations (assignments): 22 * 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 0.0001096/7.204, allocations: 115.6 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/7.205, allocations: 22.41 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/7.205, allocations: 227 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/7.205, allocations: 2.5 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/7.205, allocations: 0.6094 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/7.205, allocations: 0.5625 kB / 3.297 GB, free: 247.1 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/7.207, allocations: 0.6983 MB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/7.207, allocations: 2.812 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/7.208, allocations: 47.28 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/7.208, allocations: 4.438 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/7.208, allocations: 10.52 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/7.208, allocations: 10.09 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/7.208, allocations: 3.844 kB / 3.298 GB, free: 246.7 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001153/7.209, allocations: 0.5731 MB / 3.298 GB, free: 246.3 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001553/7.211, allocations: 1.066 MB / 3.299 GB, free: 245.5 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/7.211, allocations: 117 kB / 3.299 GB, free: 245.4 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/7.211, allocations: 4.641 kB / 3.299 GB, free: 245.4 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/7.211, allocations: 18.59 kB / 3.299 GB, free: 245.4 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/7.211, allocations: 24.88 kB / 3.299 GB, free: 245.4 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/7.211, allocations: 8.359 kB / 3.299 GB, free: 245.4 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0002356/7.212, allocations: 161.5 kB / 3.3 GB, free: 245.3 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.002061/7.214, allocations: 267.9 kB / 3.3 GB, free: 245.3 MB / 0.8777 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * 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.00268/7.216, allocations: 1.183 MB / 3.301 GB, free: 245.1 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.0005693/7.217, allocations: 136.2 kB / 3.301 GB, free: 245.1 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/7.217, allocations: 1.594 kB / 3.301 GB, free: 245.1 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/7.217, allocations: 82.25 kB / 3.301 GB, free: 245.1 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/7.219, allocations: 124 kB / 3.301 GB, free: 245.1 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/7.22, allocations: 454.2 kB / 3.302 GB, free: 244.8 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/7.22, allocations: 0.8156 MB / 3.303 GB, free: 244.1 MB / 0.8777 GB Notification: Performance of SimCode: time 1.262e-06/7.221, allocations: 0 / 3.303 GB, free: 244.1 MB / 0.8777 GB