Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.00226/0.00226, allocations: 191.8 kB / 7.805 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5338/0.5338, allocations: 90.85 MB / 99.07 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.381/1.381, allocations: 221.4 MB / 342.8 MB, free: 5.117 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.0009816/0.0009816, allocations: 90.52 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1859/0.1869, allocations: 78.44 MB / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.6389, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.92/4.559, allocations: 1.826 GB / 2.379 GB, free: 236.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/4.559, allocations: 87.19 kB / 2.379 GB, free: 236.7 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 1.946/6.505, allocations: 0.6876 GB / 3.067 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/6.505, allocations: 8 kB / 3.067 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/6.511, allocations: 0.9775 MB / 3.068 GB, free: 4.203 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/6.515, allocations: 1.161 MB / 3.069 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/6.515, allocations: 31.91 kB / 3.069 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/6.516, allocations: 56 kB / 3.069 GB, free: 2.902 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00192/6.518, allocations: 1.011 MB / 3.07 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/6.519, allocations: 1.185 MB / 3.071 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/6.519, allocations: 0 / 3.071 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/6.52, allocations: 4 kB / 3.071 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/6.52, allocations: 41.97 kB / 3.071 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/6.53, allocations: 4.899 MB / 3.076 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/6.532, allocations: 1.039 MB / 3.077 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/6.533, allocations: 0.5897 MB / 3.078 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/6.534, allocations: 0.9528 MB / 3.079 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/6.535, allocations: 0.6875 MB / 3.079 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=95): time 3.627e-06/6.535, allocations: 0 / 3.079 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.00368/6.539, allocations: 1.325 MB / 3.081 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/6.539, allocations: 60.19 kB / 3.081 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/6.541, allocations: 0.8177 MB / 3.082 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/6.541, allocations: 29.7 kB / 3.082 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/6.541, allocations: 384.4 kB / 3.082 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/6.542, allocations: 311.4 kB / 3.082 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/6.542, allocations: 0 / 3.082 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001526/6.542, allocations: 345.9 kB / 3.083 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008247/6.543, allocations: 497.8 kB / 3.083 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/6.544, allocations: 0.7116 MB / 3.084 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/6.545, allocations: 0.5259 MB / 3.084 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/6.545, allocations: 0 / 3.084 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002587/6.547, allocations: 1.306 MB / 3.086 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/6.547, allocations: 8.062 kB / 3.086 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/6.547, allocations: 4 kB / 3.086 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/6.547, allocations: 12 kB / 3.086 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/6.549, allocations: 367.5 kB / 3.086 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/6.549, allocations: 11.94 kB / 3.086 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/6.551, allocations: 239 kB / 3.086 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/6.552, allocations: 59.95 kB / 3.086 GB, free: 0.9219 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0003124/6.552, allocations: 134.7 kB / 3.086 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/6.552, allocations: 118.5 kB / 3.086 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2759/6.828, allocations: 1.391 MB / 3.088 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/6.828, allocations: 10.66 kB / 3.088 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/6.828, allocations: 0 / 3.088 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/6.828, allocations: 3.891 kB / 3.088 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/6.833, allocations: 2.911 MB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/6.833, allocations: 6.906 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/6.835, allocations: 325.9 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/6.835, allocations: 11.14 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/6.835, allocations: 28.22 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/6.835, allocations: 12.41 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/6.835, allocations: 10.31 kB / 3.091 GB, free: 150.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003141/6.838, allocations: 2.439 MB / 3.093 GB, free: 150.1 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004496/6.843, allocations: 3.711 MB / 3.097 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/6.844, allocations: 349.2 kB / 3.097 GB, free: 149 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/6.844, allocations: 10.38 kB / 3.097 GB, free: 149 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/6.845, allocations: 188.5 kB / 3.098 GB, free: 149 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/6.846, allocations: 66.73 kB / 3.098 GB, free: 149 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/6.846, allocations: 45.14 kB / 3.098 GB, free: 149 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007535/6.846, allocations: 0.6273 MB / 3.098 GB, free: 148.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0024/6.849, allocations: 0.6881 MB / 3.099 GB, free: 148.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.002738/6.852, allocations: 2.124 MB / 3.101 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001934/6.854, allocations: 1.199 MB / 3.102 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/6.854, allocations: 3.531 kB / 3.102 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009385/6.855, allocations: 0.6321 MB / 3.103 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/6.857, allocations: 410.2 kB / 3.103 GB, free: 148.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/6.873, allocations: 3.155 MB / 3.106 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/6.875, allocations: 1.403 MB / 3.108 GB, free: 147.1 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/6.875, allocations: 3.281 kB / 3.108 GB, free: 147.1 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)