Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 189.6 kB / 7.806 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.85 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.4 MB / 342.8 MB, free: 5.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009677, allocations: 93.75 kB / 415.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1656/0.1666, allocations: 78.45 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.5348, allocations: 72.3 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.883/4.417, allocations: 1.859 GB / 2.412 GB, free: 201 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/4.418, allocations: 84.77 kB / 2.412 GB, free: 200.9 MB / 0.6042 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.7711/5.189, allocations: 247.1 MB / 2.653 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/5.189, allocations: 9.625 kB / 2.653 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/5.19, allocations: 169.4 kB / 2.654 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/5.191, allocations: 347.7 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/5.191, allocations: 7.781 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/5.191, allocations: 12.34 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003825/5.191, allocations: 214.2 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/5.192, allocations: 262.3 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/5.192, allocations: 3.609 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/5.192, allocations: 3.969 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/5.192, allocations: 3.844 kB / 2.654 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/5.193, allocations: 1.1 MB / 2.655 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/5.193, allocations: 233.2 kB / 2.656 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/5.193, allocations: 106 kB / 2.656 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/5.194, allocations: 475.8 kB / 2.656 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/5.194, allocations: 41.91 kB / 2.656 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/5.194, allocations: 0 / 2.656 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0009135/5.195, allocations: 265.4 kB / 2.656 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/5.195, allocations: 58.66 kB / 2.657 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/5.195, allocations: 202.6 kB / 2.657 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/5.195, allocations: 25.7 kB / 2.657 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/5.195, allocations: 150.5 kB / 2.657 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/5.195, allocations: 68.62 kB / 2.657 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/5.195, allocations: 0 / 2.657 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.416e-05/5.195, allocations: 335.6 kB / 2.657 GB, free: 165 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/5.195, allocations: 53.28 kB / 2.657 GB, free: 165 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/5.196, allocations: 110.5 kB / 2.657 GB, free: 165 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/5.196, allocations: 103 kB / 2.658 GB, free: 165 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/5.196, allocations: 0 / 2.658 GB, free: 165 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004044/5.196, allocations: 237.5 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/5.196, allocations: 3.875 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/5.196, allocations: 7 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/5.196, allocations: 3.781 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/5.197, allocations: 45.09 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/5.197, allocations: 6 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/5.197, allocations: 30.48 kB / 2.658 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/5.197, allocations: 11.62 kB / 2.658 GB, free: 164.9 MB / 0.6042 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.732e-05/5.197, allocations: 113.6 kB / 2.658 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/5.197, allocations: 26.88 kB / 2.658 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/5.197, allocations: 227.4 kB / 2.658 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/5.197, allocations: 4.656 kB / 2.658 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/5.197, allocations: 0 / 2.658 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/5.197, allocations: 0 / 2.658 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009207/5.198, allocations: 0.7226 MB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/5.198, allocations: 6.938 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/5.199, allocations: 46.41 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/5.199, allocations: 3.875 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/5.199, allocations: 9.25 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/5.199, allocations: 3.875 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/5.199, allocations: 6.547 kB / 2.659 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005784/5.199, allocations: 0.5941 MB / 2.66 GB, free: 164 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008232/5.2, allocations: 1.085 MB / 2.661 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/5.2, allocations: 121.7 kB / 2.661 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/5.2, allocations: 3.812 kB / 2.661 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/5.2, allocations: 20.88 kB / 2.661 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/5.2, allocations: 17.95 kB / 2.661 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/5.2, allocations: 15.19 kB / 2.661 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001024/5.201, allocations: 159.4 kB / 2.661 GB, free: 163 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001245/5.202, allocations: 261.8 kB / 2.661 GB, free: 163 MB / 0.6042 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.001243/5.203, allocations: 1.19 MB / 2.662 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000265/5.203, allocations: 141.9 kB / 2.663 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/5.203, allocations: 3.938 kB / 2.663 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/5.204, allocations: 89.47 kB / 2.663 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/5.204, allocations: 113.5 kB / 2.663 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/5.205, allocations: 468 kB / 2.663 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/5.205, allocations: 0.8271 MB / 2.664 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/5.205, allocations: 0 / 2.664 GB, free: 161.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)