Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_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.7383/0.7383, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.00127/0.00127, allocations: 181.3 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 1.965/1.965, allocations: 205.1 MB / 399.1 MB, free: 6.172 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.001005/0.001005, allocations: 99.23 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3442/0.3452, allocations: 82.87 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.5384, allocations: 76.76 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.913, allocations: 349.8 MB / 0.9626 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.913, allocations: 91 kB / 0.9627 GB, free: 131.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 3.477/5.39, allocations: 0.902 GB / 1.865 GB, free: 2.113 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/5.39, allocations: 8 kB / 1.865 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/5.395, allocations: 0.6689 MB / 1.865 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4826/5.878, allocations: 1.51 MB / 1.867 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/5.878, allocations: 35.19 kB / 1.867 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004636/5.879, allocations: 64.97 kB / 1.867 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002048/5.881, allocations: 0.8567 MB / 1.868 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/5.882, allocations: 1.043 MB / 1.869 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/5.882, allocations: 3.719 kB / 1.869 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.324e-05/5.883, allocations: 0 / 1.869 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/5.883, allocations: 26.31 kB / 1.869 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/5.894, allocations: 7.107 MB / 1.876 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/5.895, allocations: 0.8295 MB / 1.877 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/5.896, allocations: 473.3 kB / 1.877 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/5.898, allocations: 2.097 MB / 1.879 GB, free: 119 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009555/5.899, allocations: 0.6161 MB / 1.88 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=91): time 4.328e-06/5.899, allocations: 0 / 1.88 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=91): time 0.004242/5.903, allocations: 1.373 MB / 1.881 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/5.903, allocations: 152 kB / 1.881 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/5.905, allocations: 0.9301 MB / 1.882 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/5.905, allocations: 29.39 kB / 1.882 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/5.905, allocations: 471.1 kB / 1.882 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/5.906, allocations: 291.3 kB / 1.883 GB, free: 118 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/5.906, allocations: 0 / 1.883 GB, free: 118 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001151/5.906, allocations: 342.8 kB / 1.883 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/5.907, allocations: 419.1 kB / 1.883 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/5.907, allocations: 0.6677 MB / 1.884 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/5.91, allocations: 0.7362 MB / 1.885 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/5.91, allocations: 0 / 1.885 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003836/5.914, allocations: 1.498 MB / 1.886 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008165/5.915, allocations: 1.612 MB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/5.915, allocations: 7.25 kB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.666e-05/5.915, allocations: 9.5 kB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/5.916, allocations: 307.5 kB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.139e-05/5.916, allocations: 18.56 kB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/5.919, allocations: 236.2 kB / 1.888 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/5.919, allocations: 60.89 kB / 1.889 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/5.919, allocations: 2.625 kB / 1.889 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003602/5.922, allocations: 1.272 MB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/5.922, allocations: 10.55 kB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/5.923, allocations: 15.66 kB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/5.924, allocations: 290.2 kB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/5.924, allocations: 7.25 kB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/5.926, allocations: 212 kB / 1.89 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/5.926, allocations: 62.72 kB / 1.89 GB, free: 115.5 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: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 3 * 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.0004608/5.927, allocations: 235.4 kB / 1.891 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/5.927, allocations: 156.2 kB / 1.891 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/5.933, allocations: 1.921 MB / 1.893 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/5.933, allocations: 19.58 kB / 1.893 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/5.933, allocations: 0.6562 kB / 1.893 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/5.933, allocations: 9.797 kB / 1.893 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/5.936, allocations: 1.193 MB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/5.936, allocations: 0 / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/5.937, allocations: 239.6 kB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.273e-05/5.938, allocations: 3.625 kB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/5.938, allocations: 35.47 kB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/5.938, allocations: 7.969 kB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/5.938, allocations: 3.562 kB / 1.894 GB, free: 115 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00529/5.943, allocations: 2.337 MB / 1.896 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006945/5.95, allocations: 3.553 MB / 1.9 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/5.951, allocations: 238.1 kB / 1.9 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/5.952, allocations: 9.781 kB / 1.9 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/5.954, allocations: 165.4 kB / 1.9 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/5.954, allocations: 63.44 kB / 1.9 GB, free: 114 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/5.954, allocations: 51.27 kB / 1.9 GB, free: 114 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001877/5.956, allocations: 0.7004 MB / 1.901 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006585/5.962, allocations: 1.145 MB / 1.902 GB, free: 113.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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.003217/5.966, allocations: 0.9741 MB / 1.903 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003972/5.97, allocations: 1.889 MB / 1.905 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/5.97, allocations: 0 / 1.905 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/5.971, allocations: 0.76 MB / 1.906 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/5.975, allocations: 0.5089 MB / 1.906 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008487/5.983, allocations: 2.438 MB / 1.909 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/5.986, allocations: 1.511 MB / 1.91 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.453e-06/5.987, allocations: 2.219 kB / 1.91 GB, free: 112.1 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)