Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.001336/0.001336, allocations: 190.6 kB / 7.807 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4741/0.4741, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.236/1.236, allocations: 221.4 MB / 342.8 MB, free: 5.195 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.0009755/0.0009756, allocations: 93.61 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1738, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.5685, allocations: 72.31 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5735/1.142, allocations: 353.2 MB / 0.8979 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.142, allocations: 91.59 kB / 0.898 GB, free: 1.91 MB / 0.5573 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 5.174/6.316, allocations: 1.538 GB / 2.436 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/6.316, allocations: 7.5 kB / 2.436 GB, free: 60.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/6.319, allocations: 0.6658 MB / 2.437 GB, free: 60.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/6.323, allocations: 1.47 MB / 2.438 GB, free: 59.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/6.323, allocations: 33.95 kB / 2.438 GB, free: 59.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/6.323, allocations: 69 kB / 2.439 GB, free: 59.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001448/6.325, allocations: 0.8308 MB / 2.439 GB, free: 59.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/6.326, allocations: 1.064 MB / 2.44 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/6.326, allocations: 0 / 2.44 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/6.326, allocations: 6.969 kB / 2.44 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/6.326, allocations: 24.38 kB / 2.44 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007821/6.334, allocations: 6.702 MB / 2.447 GB, free: 55.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/6.336, allocations: 0.8547 MB / 2.448 GB, free: 55.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006475/6.336, allocations: 499.5 kB / 2.448 GB, free: 55.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/6.338, allocations: 2.265 MB / 2.45 GB, free: 52.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007808/6.338, allocations: 0.6372 MB / 2.451 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 2.314e-06/6.338, allocations: 1.688 kB / 2.451 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.00294/6.341, allocations: 1.305 MB / 2.452 GB, free: 52.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/6.341, allocations: 146.2 kB / 2.453 GB, free: 52.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/6.342, allocations: 0.9045 MB / 2.453 GB, free: 52.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.838e-05/6.343, allocations: 29.58 kB / 2.453 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/6.343, allocations: 455 kB / 2.454 GB, free: 52.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/6.343, allocations: 306.2 kB / 2.454 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/6.343, allocations: 5.656 kB / 2.454 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.343, allocations: 351.2 kB / 2.455 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/6.344, allocations: 405.7 kB / 2.455 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/6.345, allocations: 0.6822 MB / 2.456 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/6.347, allocations: 0.694 MB / 2.456 GB, free: 51.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/6.347, allocations: 5.906 kB / 2.456 GB, free: 51.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003103/6.35, allocations: 1.455 MB / 2.458 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005521/6.35, allocations: 2.145 MB / 2.46 GB, free: 49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/6.35, allocations: 7.094 kB / 2.46 GB, free: 49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/6.35, allocations: 15.42 kB / 2.46 GB, free: 49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/6.352, allocations: 306.6 kB / 2.46 GB, free: 49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/6.352, allocations: 12.31 kB / 2.46 GB, free: 49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/6.353, allocations: 235.3 kB / 2.46 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/6.354, allocations: 58.41 kB / 2.46 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/6.354, allocations: 3.75 kB / 2.46 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/6.357, allocations: 1.265 MB / 2.462 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/6.357, allocations: 3.906 kB / 2.462 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/6.357, allocations: 11.75 kB / 2.462 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/6.358, allocations: 307.8 kB / 2.462 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/6.358, allocations: 11.47 kB / 2.462 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/6.36, allocations: 220.5 kB / 2.462 GB, free: 48.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/6.36, allocations: 66.52 kB / 2.462 GB, free: 48.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (117): * Single equations (assignments): 114 * 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.0003545/6.36, allocations: 242.3 kB / 2.462 GB, free: 48.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/6.361, allocations: 155.1 kB / 2.463 GB, free: 48.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/6.365, allocations: 2.031 MB / 2.465 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/6.365, allocations: 18.02 kB / 2.465 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/6.365, allocations: 3.469 kB / 2.465 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/6.365, allocations: 11.69 kB / 2.465 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005876/6.371, allocations: 3.114 MB / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/6.371, allocations: 0 / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/6.372, allocations: 240.3 kB / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/6.372, allocations: 9.141 kB / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/6.372, allocations: 34.08 kB / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-06/6.372, allocations: 9.906 kB / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.372, allocations: 0 / 2.468 GB, free: 48.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004294/6.377, allocations: 2.591 MB / 2.47 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005602/6.382, allocations: 3.841 MB / 2.474 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/6.383, allocations: 402.2 kB / 2.475 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/6.383, allocations: 12.88 kB / 2.475 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/6.385, allocations: 165.4 kB / 2.475 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/6.385, allocations: 66.8 kB / 2.475 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/6.385, allocations: 59.23 kB / 2.475 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001065/6.386, allocations: 0.6749 MB / 2.476 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004285/6.39, allocations: 1.151 MB / 2.477 GB, free: 46.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.00187/6.392, allocations: 0.9805 MB / 2.478 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002953/6.395, allocations: 1.935 MB / 2.479 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/6.395, allocations: 0 / 2.479 GB, free: 46.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/6.396, allocations: 0.8059 MB / 2.48 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/6.399, allocations: 0.5002 MB / 2.481 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/6.404, allocations: 2.711 MB / 2.483 GB, free: 45.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/6.405, allocations: 1.505 MB / 2.485 GB, free: 44.59 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/6.405, allocations: 0 / 2.485 GB, free: 44.59 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)