Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7312/0.7312, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 177.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 399.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.42 kB / 476.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.342/0.3431, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.5605, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.529/6.09, allocations: 2.136 GB / 2.757 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/6.09, allocations: 92.64 kB / 2.757 GB, free: 48.11 MB / 0.6355 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.9392/7.029, allocations: 242.1 MB / 2.993 GB, free: 47.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/7.029, allocations: 12 kB / 2.993 GB, free: 47.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/7.031, allocations: 163.3 kB / 2.993 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/7.031, allocations: 349.8 kB / 2.994 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/7.031, allocations: 4 kB / 2.994 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/7.031, allocations: 16 kB / 2.994 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003861/7.032, allocations: 212.8 kB / 2.994 GB, free: 47.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/7.032, allocations: 261.7 kB / 2.994 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/7.032, allocations: 0 / 2.994 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/7.032, allocations: 3.938 kB / 2.994 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/7.032, allocations: 8 kB / 2.994 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/7.034, allocations: 1.094 MB / 2.995 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/7.034, allocations: 231.1 kB / 2.995 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/7.034, allocations: 104.8 kB / 2.996 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007013/7.035, allocations: 477.5 kB / 2.996 GB, free: 44.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/7.035, allocations: 38.5 kB / 2.996 GB, free: 44.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/7.035, allocations: 0 / 2.996 GB, free: 44.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001/7.036, allocations: 249.4 kB / 2.996 GB, free: 44.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/7.036, allocations: 55.41 kB / 2.996 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/7.036, allocations: 192.3 kB / 2.997 GB, free: 44.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/7.036, allocations: 25.7 kB / 2.997 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/7.037, allocations: 148.1 kB / 2.997 GB, free: 44.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/7.037, allocations: 59.11 kB / 2.997 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/7.037, allocations: 0 / 2.997 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/7.037, allocations: 334.8 kB / 2.997 GB, free: 43.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/7.037, allocations: 44.36 kB / 2.997 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/7.037, allocations: 105.5 kB / 2.997 GB, free: 43.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/7.037, allocations: 103.9 kB / 2.997 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/7.037, allocations: 0 / 2.997 GB, free: 43.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004202/7.038, allocations: 213.1 kB / 2.998 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/7.038, allocations: 4 kB / 2.998 GB, free: 43.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/7.038, allocations: 8.047 kB / 2.998 GB, free: 43.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/7.038, allocations: 4 kB / 2.998 GB, free: 43.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/7.038, allocations: 43.92 kB / 2.998 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/7.038, allocations: 4 kB / 2.998 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/7.038, allocations: 27.83 kB / 2.998 GB, free: 43.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/7.038, allocations: 8 kB / 2.998 GB, free: 43.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.157e-05/7.038, allocations: 112.9 kB / 2.998 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/7.038, allocations: 23.72 kB / 2.998 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/7.039, allocations: 217.7 kB / 2.998 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/7.039, allocations: 0 / 2.998 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/7.039, allocations: 4 kB / 2.998 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/7.039, allocations: 11.98 kB / 2.998 GB, free: 42.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/7.04, allocations: 0.6785 MB / 2.999 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/7.04, allocations: 0 / 2.999 GB, free: 41.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/7.04, allocations: 39.97 kB / 2.999 GB, free: 41.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/7.04, allocations: 4.141 kB / 2.999 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/7.04, allocations: 4 kB / 2.999 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/7.04, allocations: 12.16 kB / 2.999 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/7.04, allocations: 15.92 kB / 2.999 GB, free: 41.9 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006656/7.041, allocations: 0.552 MB / 2.999 GB, free: 41.24 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009759/7.042, allocations: 1.039 MB / 3 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.845e-05/7.042, allocations: 104.8 kB / 3 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/7.042, allocations: 7.969 kB / 3 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/7.042, allocations: 15.98 kB / 3 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/7.042, allocations: 19.97 kB / 3 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/7.042, allocations: 12 kB / 3 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001125/7.042, allocations: 152.5 kB / 3.001 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001549/7.044, allocations: 263.7 kB / 3.001 GB, free: 39.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 18 * 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.001749/7.046, allocations: 1.2 MB / 3.002 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003132/7.046, allocations: 131.8 kB / 3.002 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/7.046, allocations: 0 / 3.002 GB, free: 38.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/7.046, allocations: 71.86 kB / 3.002 GB, free: 38.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/7.047, allocations: 128.5 kB / 3.002 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/7.048, allocations: 430.1 kB / 3.003 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/7.048, allocations: 0.8131 MB / 3.003 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/7.048, allocations: 0 / 3.003 GB, free: 36.66 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)