Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.7501/0.7501, allocations: 127.4 MB / 134.6 MB, free: 4.098 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.001279/0.001279, allocations: 185.3 kB / 164.4 MB, free: 6.914 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.831/1.831, allocations: 205.1 MB / 399.1 MB, free: 6.113 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.0009447/0.0009444, allocations: 82.23 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3991/0.4001, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.5983, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.357/5.956, allocations: 2.143 GB / 2.764 GB, free: 70.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/5.956, allocations: 89.31 kB / 2.764 GB, free: 70.52 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 3.776/9.732, allocations: 1.004 GB / 3.768 GB, free: 45.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/9.732, allocations: 8 kB / 3.768 GB, free: 45.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005116/9.737, allocations: 0.7591 MB / 3.769 GB, free: 44.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/9.742, allocations: 1.036 MB / 3.77 GB, free: 43.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-05/9.742, allocations: 28 kB / 3.77 GB, free: 43.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005092/9.742, allocations: 59.98 kB / 3.77 GB, free: 43.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002402/9.745, allocations: 0.9879 MB / 3.771 GB, free: 42.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/9.747, allocations: 1.129 MB / 3.772 GB, free: 40.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/9.747, allocations: 11.84 kB / 3.772 GB, free: 40.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/9.747, allocations: 3.984 kB / 3.772 GB, free: 40.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/9.747, allocations: 49.98 kB / 3.772 GB, free: 40.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00902/9.756, allocations: 5.142 MB / 3.777 GB, free: 35.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/9.758, allocations: 0.9277 MB / 3.778 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/9.759, allocations: 0.4898 MB / 3.778 GB, free: 34.08 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/9.76, allocations: 0.9536 MB / 3.779 GB, free: 32.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/9.761, allocations: 0.5847 MB / 3.78 GB, free: 32.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 4.428e-06/9.761, allocations: 0 / 3.78 GB, free: 32.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.003072/9.764, allocations: 1.162 MB / 3.781 GB, free: 31.17 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/9.764, allocations: 60.06 kB / 3.781 GB, free: 31.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/9.765, allocations: 0.8436 MB / 3.782 GB, free: 30.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/9.766, allocations: 33.7 kB / 3.782 GB, free: 30.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/9.766, allocations: 415.7 kB / 3.782 GB, free: 29.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/9.766, allocations: 264.2 kB / 3.782 GB, free: 29.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/9.766, allocations: 7.875 kB / 3.782 GB, free: 29.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/9.766, allocations: 341.9 kB / 3.783 GB, free: 29.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006518/9.767, allocations: 421.8 kB / 3.783 GB, free: 28.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/9.768, allocations: 0.7201 MB / 3.784 GB, free: 27.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/9.769, allocations: 484.3 kB / 3.784 GB, free: 27.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/9.769, allocations: 4 kB / 3.784 GB, free: 27.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002398/9.771, allocations: 1.184 MB / 3.785 GB, free: 26.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/9.771, allocations: 4 kB / 3.785 GB, free: 26.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/9.771, allocations: 8 kB / 3.785 GB, free: 26.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.62e-05/9.771, allocations: 12 kB / 3.785 GB, free: 26.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/9.773, allocations: 328 kB / 3.786 GB, free: 25.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.959e-05/9.773, allocations: 12 kB / 3.786 GB, free: 25.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/9.775, allocations: 214.9 kB / 3.786 GB, free: 25.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/9.775, allocations: 51.97 kB / 3.786 GB, free: 25.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 116 * 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 0.0003305/9.776, allocations: 138.7 kB / 3.786 GB, free: 25.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/9.776, allocations: 118.5 kB / 3.786 GB, free: 25.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/9.779, allocations: 1.206 MB / 3.787 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/9.779, allocations: 8 kB / 3.787 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/9.779, allocations: 11.84 kB / 3.787 GB, free: 24.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/9.779, allocations: 3.984 kB / 3.787 GB, free: 24.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/9.784, allocations: 2.594 MB / 3.79 GB, free: 21.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/9.784, allocations: 4 kB / 3.79 GB, free: 21.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/9.786, allocations: 260.1 kB / 3.79 GB, free: 21.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.268e-05/9.786, allocations: 15.91 kB / 3.79 GB, free: 21.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/9.786, allocations: 27.97 kB / 3.79 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/9.786, allocations: 7.984 kB / 3.79 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/9.786, allocations: 11.94 kB / 3.79 GB, free: 21.12 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00305/9.789, allocations: 2.137 MB / 3.792 GB, free: 18.85 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004499/9.793, allocations: 3.297 MB / 3.796 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/9.794, allocations: 215.5 kB / 3.796 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/9.795, allocations: 11.91 kB / 3.796 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/9.796, allocations: 143.8 kB / 3.796 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/9.796, allocations: 52.58 kB / 3.796 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/9.796, allocations: 47.91 kB / 3.796 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001015/9.797, allocations: 0.6521 MB / 3.797 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003067/9.801, allocations: 0.6595 MB / 3.797 GB, free: 13.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00346/9.804, allocations: 2.145 MB / 3.799 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002221/9.806, allocations: 1.036 MB / 3.8 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/9.806, allocations: 0.625 kB / 3.8 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/9.807, allocations: 0.5411 MB / 3.801 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/9.81, allocations: 409.2 kB / 3.801 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/9.816, allocations: 2.063 MB / 3.803 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/9.818, allocations: 1.378 MB / 3.805 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of SimCode: time 2.525e-06/9.818, allocations: 0 / 3.805 GB, free: 5.91 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)