Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_Velocity",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.247/2.247, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001681/0.001681, allocations: 183.8 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001504/0.001504, allocations: 94.67 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4371/0.4387, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.6331, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.703/6.337, allocations: 2.18 GB / 3.063 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/6.337, allocations: 82.39 kB / 3.063 GB, free: 188.1 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 1.222/7.559, allocations: 235.7 MB / 3.293 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/7.559, allocations: 7.875 kB / 3.293 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/7.561, allocations: 172 kB / 3.294 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/7.562, allocations: 347.1 kB / 3.294 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/7.562, allocations: 10.86 kB / 3.294 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/7.562, allocations: 18.75 kB / 3.294 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005919/7.563, allocations: 206.7 kB / 3.294 GB, free: 210 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/7.563, allocations: 267.5 kB / 3.294 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/7.563, allocations: 0 / 3.294 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/7.564, allocations: 0 / 3.294 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/7.564, allocations: 3.938 kB / 3.294 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/7.566, allocations: 1.114 MB / 3.296 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/7.566, allocations: 228.7 kB / 3.296 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/7.566, allocations: 112.8 kB / 3.296 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/7.567, allocations: 473.6 kB / 3.296 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/7.567, allocations: 34.56 kB / 3.296 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/7.567, allocations: 0 / 3.296 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.001447/7.569, allocations: 272 kB / 3.297 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/7.569, allocations: 58.97 kB / 3.297 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/7.569, allocations: 195.4 kB / 3.297 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/7.569, allocations: 25.7 kB / 3.297 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/7.569, allocations: 147.2 kB / 3.297 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/7.569, allocations: 70.3 kB / 3.297 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/7.569, allocations: 3.531 kB / 3.297 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.542e-05/7.569, allocations: 334.5 kB / 3.297 GB, free: 208 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/7.57, allocations: 50.2 kB / 3.297 GB, free: 208 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/7.57, allocations: 105.2 kB / 3.298 GB, free: 208 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/7.57, allocations: 111.1 kB / 3.298 GB, free: 208 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/7.57, allocations: 3.938 kB / 3.298 GB, free: 208 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000666/7.571, allocations: 229.4 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/7.571, allocations: 3.969 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/7.571, allocations: 5.906 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/7.571, allocations: 0 / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/7.571, allocations: 50.58 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/7.571, allocations: 3.75 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/7.572, allocations: 28.25 kB / 3.298 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/7.572, allocations: 15.09 kB / 3.298 GB, free: 207.9 MB / 0.8698 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 (24): * Single equations (assignments): 24 * 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.068e-05/7.572, allocations: 111.3 kB / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/7.572, allocations: 23.25 kB / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/7.573, allocations: 236.4 kB / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/7.573, allocations: 3.812 kB / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.573, allocations: 0 / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/7.573, allocations: 3.75 kB / 3.298 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/7.574, allocations: 0.7152 MB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/7.574, allocations: 3.969 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/7.575, allocations: 51.16 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/7.575, allocations: 7.094 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/7.575, allocations: 7.219 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/7.575, allocations: 7.25 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/7.575, allocations: 3.438 kB / 3.299 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009596/7.576, allocations: 0.6033 MB / 3.3 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001366/7.577, allocations: 1.09 MB / 3.301 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/7.577, allocations: 119.2 kB / 3.301 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/7.578, allocations: 7.297 kB / 3.301 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/7.578, allocations: 18.08 kB / 3.301 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/7.578, allocations: 22.12 kB / 3.301 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/7.578, allocations: 11.06 kB / 3.301 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001796/7.578, allocations: 162.6 kB / 3.301 GB, free: 206 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001861/7.58, allocations: 260.6 kB / 3.301 GB, free: 206 MB / 0.8698 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 (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 Backend phase and start with SimCode phase: time 0.001865/7.582, allocations: 1.184 MB / 3.303 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004601/7.582, allocations: 143.5 kB / 3.303 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/7.583, allocations: 2.875 kB / 3.303 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/7.583, allocations: 84.28 kB / 3.303 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/7.584, allocations: 128.8 kB / 3.303 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/7.585, allocations: 463.3 kB / 3.303 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/7.586, allocations: 0.8196 MB / 3.304 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/7.586, allocations: 0 / 3.304 GB, free: 204.8 MB / 0.8698 GB