Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8649/0.8649, 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.001208/0.001209, allocations: 189.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.0009889/0.0009889, allocations: 91.16 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3837/0.3847, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.5671, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.374/5.941, allocations: 2.143 GB / 2.764 GB, free: 24.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/5.941, allocations: 87.94 kB / 2.764 GB, free: 24.53 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 2.914/8.856, allocations: 0.6796 GB / 3.444 GB, free: 82.96 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/8.856, allocations: 11 kB / 3.444 GB, free: 82.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00729/8.863, allocations: 0.9834 MB / 3.444 GB, free: 82.59 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006637/8.87, allocations: 1.135 MB / 3.446 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/8.87, allocations: 27.62 kB / 3.446 GB, free: 81.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/8.87, allocations: 64.97 kB / 3.446 GB, free: 81.85 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002842/8.873, allocations: 1.12 MB / 3.447 GB, free: 81.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/8.875, allocations: 1.16 MB / 3.448 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/8.875, allocations: 0 / 3.448 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/8.876, allocations: 1.938 kB / 3.448 GB, free: 80.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.62e-05/8.876, allocations: 50.55 kB / 3.448 GB, free: 80.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/8.887, allocations: 4.887 MB / 3.453 GB, free: 76.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/8.89, allocations: 1.082 MB / 3.454 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/8.891, allocations: 0.584 MB / 3.454 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/8.892, allocations: 0.9599 MB / 3.455 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/8.894, allocations: 0.6821 MB / 3.456 GB, free: 74.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=94): time 3.416e-06/8.894, allocations: 0 / 3.456 GB, free: 74.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94): time 0.004156/8.898, allocations: 1.324 MB / 3.457 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/8.898, allocations: 65.69 kB / 3.457 GB, free: 74.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/8.899, allocations: 0.8181 MB / 3.458 GB, free: 73.27 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/8.899, allocations: 29.7 kB / 3.458 GB, free: 73.23 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/8.9, allocations: 376.6 kB / 3.458 GB, free: 72.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/8.9, allocations: 311.4 kB / 3.459 GB, free: 72.55 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/8.9, allocations: 4 kB / 3.459 GB, free: 72.54 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/8.9, allocations: 341.9 kB / 3.459 GB, free: 72.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/8.901, allocations: 497.8 kB / 3.46 GB, free: 71.72 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008618/8.902, allocations: 0.7267 MB / 3.46 GB, free: 70.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008641/8.902, allocations: 0.5298 MB / 3.461 GB, free: 70.37 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/8.902, allocations: 0 / 3.461 GB, free: 70.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002145/8.905, allocations: 1.298 MB / 3.462 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/8.905, allocations: 11.92 kB / 3.462 GB, free: 69.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/8.905, allocations: 4 kB / 3.462 GB, free: 69.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/8.905, allocations: 8 kB / 3.462 GB, free: 69.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/8.907, allocations: 371.1 kB / 3.462 GB, free: 68.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/8.907, allocations: 8 kB / 3.462 GB, free: 68.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/8.909, allocations: 243 kB / 3.463 GB, free: 68.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/8.909, allocations: 55.95 kB / 3.463 GB, free: 68.38 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (120): * Single equations (assignments): 120 * 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.0002885/8.909, allocations: 138.7 kB / 3.463 GB, free: 68.24 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/8.91, allocations: 118.5 kB / 3.463 GB, free: 68.12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/8.912, allocations: 1.39 MB / 3.464 GB, free: 66.72 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/8.912, allocations: 12 kB / 3.464 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/8.912, allocations: 0 / 3.464 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/8.912, allocations: 3.984 kB / 3.464 GB, free: 66.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004971/8.917, allocations: 2.883 MB / 3.467 GB, free: 63.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/8.917, allocations: 11.92 kB / 3.467 GB, free: 63.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/8.919, allocations: 328 kB / 3.468 GB, free: 63.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/8.919, allocations: 8 kB / 3.468 GB, free: 63.42 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/8.92, allocations: 27.97 kB / 3.468 GB, free: 63.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/8.92, allocations: 11.98 kB / 3.468 GB, free: 63.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/8.92, allocations: 15.88 kB / 3.468 GB, free: 63.37 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00334/8.923, allocations: 2.403 MB / 3.47 GB, free: 60.82 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004588/8.927, allocations: 3.693 MB / 3.474 GB, free: 56.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/8.928, allocations: 211.5 kB / 3.474 GB, free: 56.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/8.928, allocations: 19.91 kB / 3.474 GB, free: 56.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/8.93, allocations: 182.5 kB / 3.474 GB, free: 56.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/8.93, allocations: 68.53 kB / 3.474 GB, free: 56.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/8.93, allocations: 43.97 kB / 3.474 GB, free: 56.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001029/8.931, allocations: 0.6277 MB / 3.475 GB, free: 55.81 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003031/8.934, allocations: 0.6868 MB / 3.475 GB, free: 55.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (100): * Single equations (assignments): 94 * 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.003285/8.938, allocations: 2.163 MB / 3.477 GB, free: 53.22 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002142/8.94, allocations: 1.191 MB / 3.479 GB, free: 52.03 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/8.94, allocations: 4.062 kB / 3.479 GB, free: 52.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/8.941, allocations: 0.6352 MB / 3.479 GB, free: 51.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/8.944, allocations: 429.1 kB / 3.48 GB, free: 50.97 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/8.961, allocations: 3.143 MB / 3.483 GB, free: 47.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/8.962, allocations: 1.4 MB / 3.484 GB, free: 46.36 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/8.962, allocations: 0 / 3.484 GB, free: 46.36 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)