Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 187.9 kB / 7.803 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4552/0.4552, allocations: 90.86 MB / 99.08 MB, free: 14.94 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.259/1.259, allocations: 221.4 MB / 342.8 MB, free: 5.195 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.0009114/0.0009115, allocations: 89.53 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.1713, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.5358, allocations: 72.3 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.852/4.388, allocations: 1.859 GB / 2.412 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.388, allocations: 80.2 kB / 2.412 GB, free: 162.1 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.8017/5.19, allocations: 247 MB / 2.653 GB, free: 164 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/5.19, allocations: 11.25 kB / 2.653 GB, free: 164 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/5.192, allocations: 159.1 kB / 2.653 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/5.192, allocations: 347 kB / 2.654 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/5.192, allocations: 6.062 kB / 2.654 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/5.192, allocations: 15.72 kB / 2.654 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003869/5.193, allocations: 202.3 kB / 2.654 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/5.193, allocations: 254.9 kB / 2.654 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/5.193, allocations: 8.75 kB / 2.654 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/5.193, allocations: 0 / 2.654 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/5.193, allocations: 4.875 kB / 2.654 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/5.194, allocations: 1.092 MB / 2.655 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/5.195, allocations: 213 kB / 2.655 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/5.195, allocations: 103.3 kB / 2.655 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/5.196, allocations: 468.9 kB / 2.656 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/5.196, allocations: 44.22 kB / 2.656 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/5.196, allocations: 0 / 2.656 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0009543/5.197, allocations: 254.8 kB / 2.656 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/5.197, allocations: 59.41 kB / 2.656 GB, free: 160.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/5.197, allocations: 191.1 kB / 2.656 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/5.197, allocations: 25.7 kB / 2.656 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/5.197, allocations: 150.4 kB / 2.657 GB, free: 160.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/5.197, allocations: 60.23 kB / 2.657 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/5.197, allocations: 3.938 kB / 2.657 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/5.197, allocations: 334.7 kB / 2.657 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/5.197, allocations: 48.36 kB / 2.657 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/5.197, allocations: 111.4 kB / 2.657 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/5.198, allocations: 95.89 kB / 2.657 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/5.198, allocations: 0 / 2.657 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003946/5.198, allocations: 229.2 kB / 2.657 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/5.198, allocations: 6.031 kB / 2.657 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/5.198, allocations: 3.188 kB / 2.657 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/5.198, allocations: 4 kB / 2.657 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/5.198, allocations: 43.97 kB / 2.657 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/5.198, allocations: 1.094 kB / 2.657 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/5.198, allocations: 29.95 kB / 2.657 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/5.198, allocations: 19 kB / 2.657 GB, free: 159.5 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 (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 7.469e-05/5.199, allocations: 110.9 kB / 2.658 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/5.199, allocations: 27.7 kB / 2.658 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/5.199, allocations: 226.4 kB / 2.658 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/5.199, allocations: 3.984 kB / 2.658 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/5.199, allocations: 0 / 2.658 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/5.199, allocations: 0 / 2.658 GB, free: 159.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009318/5.2, allocations: 0.7061 MB / 2.659 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/5.2, allocations: 4 kB / 2.659 GB, free: 158.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/5.2, allocations: 44.33 kB / 2.659 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/5.2, allocations: 7.906 kB / 2.659 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/5.2, allocations: 7.984 kB / 2.659 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/5.2, allocations: 7.938 kB / 2.659 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/5.2, allocations: 4 kB / 2.659 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006139/5.201, allocations: 0.5657 MB / 2.659 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008953/5.202, allocations: 1.081 MB / 2.66 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/5.202, allocations: 110.8 kB / 2.66 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/5.202, allocations: 4 kB / 2.66 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/5.202, allocations: 20.05 kB / 2.66 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/5.202, allocations: 23.88 kB / 2.66 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/5.202, allocations: 8 kB / 2.66 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001053/5.202, allocations: 157.2 kB / 2.661 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001265/5.204, allocations: 263.8 kB / 2.661 GB, free: 155.8 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 (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.0014/5.205, allocations: 1.19 MB / 2.662 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002573/5.205, allocations: 133.7 kB / 2.662 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.205, allocations: 0 / 2.662 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/5.206, allocations: 83.84 kB / 2.662 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/5.206, allocations: 116.1 kB / 2.662 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/5.207, allocations: 453.8 kB / 2.663 GB, free: 154 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/5.207, allocations: 0.8137 MB / 2.663 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/5.207, allocations: 0 / 2.663 GB, free: 153.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)