Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 184.7 kB / 316 MB, free: 7.223 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.323/1.323, allocations: 205.1 MB / 0.5667 GB, free: 23.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 88.7 kB / 0.671 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.191/0.1919, allocations: 112.5 MB / 0.7808 GB, free: 348 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.588, allocations: 106.3 MB / 0.8847 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.645/4.233, allocations: 2.179 GB / 3.064 GB, free: 332.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/4.234, allocations: 85.78 kB / 3.064 GB, free: 332.9 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 0.4155/4.649, allocations: 235.7 MB / 3.294 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/4.649, allocations: 12 kB / 3.294 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/4.651, allocations: 171.3 kB / 3.294 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/4.651, allocations: 350.2 kB / 3.294 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/4.651, allocations: 4 kB / 3.294 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/4.651, allocations: 16 kB / 3.294 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/4.652, allocations: 204.9 kB / 3.295 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/4.652, allocations: 266.4 kB / 3.295 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/4.652, allocations: 4 kB / 3.295 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/4.652, allocations: 0 / 3.295 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/4.652, allocations: 8 kB / 3.295 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/4.653, allocations: 1.107 MB / 3.296 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/4.654, allocations: 240.2 kB / 3.296 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/4.654, allocations: 109.2 kB / 3.296 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/4.654, allocations: 469.7 kB / 3.297 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/4.654, allocations: 38.75 kB / 3.297 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/4.654, allocations: 3.938 kB / 3.297 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0008815/4.655, allocations: 260.2 kB / 3.297 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/4.655, allocations: 63.34 kB / 3.297 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/4.655, allocations: 193.1 kB / 3.297 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/4.655, allocations: 25.7 kB / 3.297 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/4.655, allocations: 156.2 kB / 3.297 GB, free: 104 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/4.655, allocations: 63.02 kB / 3.297 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/4.655, allocations: 0 / 3.297 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/4.656, allocations: 338.7 kB / 3.298 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/4.656, allocations: 51.92 kB / 3.298 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/4.656, allocations: 116.5 kB / 3.298 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/4.656, allocations: 95.89 kB / 3.298 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/4.656, allocations: 4 kB / 3.298 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003965/4.656, allocations: 237.1 kB / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/4.656, allocations: 4 kB / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/4.656, allocations: 96 / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/4.656, allocations: 8 kB / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/4.657, allocations: 47.92 kB / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/4.657, allocations: 3.984 kB / 3.298 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/4.657, allocations: 31.83 kB / 3.298 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/4.657, allocations: 12 kB / 3.298 GB, free: 102.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 6.378e-05/4.657, allocations: 112.8 kB / 3.298 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/4.657, allocations: 23.72 kB / 3.298 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/4.657, allocations: 227.6 kB / 3.299 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/4.657, allocations: 4.062 kB / 3.299 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/4.657, allocations: 4 kB / 3.299 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/4.657, allocations: 3.906 kB / 3.299 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/4.658, allocations: 0.7145 MB / 3.299 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/4.658, allocations: 0 / 3.299 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/4.659, allocations: 47.92 kB / 3.299 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/4.659, allocations: 7.984 kB / 3.299 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/4.659, allocations: 8.281 kB / 3.299 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/4.659, allocations: 11.94 kB / 3.299 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/4.659, allocations: 4 kB / 3.299 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005413/4.659, allocations: 0.5967 MB / 3.3 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007894/4.66, allocations: 1.098 MB / 3.301 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/4.66, allocations: 124.6 kB / 3.301 GB, free: 99.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/4.66, allocations: 4 kB / 3.301 GB, free: 99.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/4.66, allocations: 24.05 kB / 3.301 GB, free: 99.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/4.66, allocations: 15.89 kB / 3.301 GB, free: 99.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/4.66, allocations: 12 kB / 3.301 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.882e-05/4.661, allocations: 161.2 kB / 3.301 GB, free: 99.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0012/4.662, allocations: 263.8 kB / 3.302 GB, free: 99.14 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.001332/4.663, allocations: 1.188 MB / 3.303 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002521/4.663, allocations: 139.8 kB / 3.303 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/4.663, allocations: 0 / 3.303 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/4.663, allocations: 84.67 kB / 3.303 GB, free: 97.72 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/4.664, allocations: 129.2 kB / 3.303 GB, free: 97.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/4.665, allocations: 460.9 kB / 3.304 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/4.665, allocations: 0.8258 MB / 3.304 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/4.665, allocations: 0 / 3.304 GB, free: 96.23 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)