Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.781/0.781, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001154/0.001154, allocations: 185.3 kB / 164.4 MB, free: 6.902 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.849/1.849, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009176/0.0009176, allocations: 85.59 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3078/0.3088, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.502, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.817, allocations: 350 MB / 0.9628 GB, free: 131.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003816/1.817, allocations: 88.2 kB / 0.9629 GB, free: 131.4 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 6.398/8.215, allocations: 1.449 GB / 2.412 GB, free: 79.17 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/8.215, allocations: 7.281 kB / 2.412 GB, free: 79.17 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/8.219, allocations: 0.661 MB / 2.413 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/8.224, allocations: 1.532 MB / 2.414 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/8.225, allocations: 32.53 kB / 2.414 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004629/8.225, allocations: 72.47 kB / 2.414 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002203/8.227, allocations: 0.8233 MB / 2.415 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/8.23, allocations: 1.051 MB / 2.416 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/8.23, allocations: 5.438 kB / 2.416 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/8.23, allocations: 7.406 kB / 2.416 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/8.23, allocations: 27.91 kB / 2.416 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/8.241, allocations: 7.351 MB / 2.423 GB, free: 73.79 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/8.242, allocations: 0.8214 MB / 2.424 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/8.243, allocations: 453.6 kB / 2.424 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/8.244, allocations: 2.102 MB / 2.426 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000886/8.245, allocations: 0.5996 MB / 2.427 GB, free: 71.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.278e-06/8.245, allocations: 0 / 2.427 GB, free: 71.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004442/8.25, allocations: 1.317 MB / 2.428 GB, free: 71.12 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/8.25, allocations: 145.3 kB / 2.428 GB, free: 70.96 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/8.252, allocations: 0.9454 MB / 2.429 GB, free: 70.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001644/8.252, allocations: 25.7 kB / 2.429 GB, free: 70.78 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/8.253, allocations: 0.4892 MB / 2.43 GB, free: 70.51 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/8.253, allocations: 288.7 kB / 2.43 GB, free: 70.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/8.253, allocations: 0 / 2.43 GB, free: 70.33 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001123/8.253, allocations: 345.6 kB / 2.431 GB, free: 70.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/8.254, allocations: 418.5 kB / 2.431 GB, free: 70.02 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/8.255, allocations: 0.7057 MB / 2.432 GB, free: 69.69 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/8.257, allocations: 0.7067 MB / 2.432 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/8.257, allocations: 0 / 2.432 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003886/8.261, allocations: 1.484 MB / 2.434 GB, free: 69.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005763/8.262, allocations: 2.141 MB / 2.436 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/8.262, allocations: 4.812 kB / 2.436 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.635e-05/8.262, allocations: 11.5 kB / 2.436 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/8.263, allocations: 319.6 kB / 2.436 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.421e-05/8.263, allocations: 13.16 kB / 2.436 GB, free: 67.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/8.266, allocations: 256.2 kB / 2.436 GB, free: 67.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/8.266, allocations: 62.45 kB / 2.436 GB, free: 67.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/8.266, allocations: 7.25 kB / 2.436 GB, free: 67.23 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003232/8.269, allocations: 1.254 MB / 2.438 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/8.269, allocations: 7.531 kB / 2.438 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/8.269, allocations: 9.938 kB / 2.438 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/8.27, allocations: 305.1 kB / 2.438 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/8.271, allocations: 8.625 kB / 2.438 GB, free: 67.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/8.273, allocations: 230.4 kB / 2.438 GB, free: 67.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/8.273, allocations: 57.98 kB / 2.438 GB, free: 67.17 MB / 0.6667 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 (116): * Single equations (assignments): 113 * 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.0004494/8.273, allocations: 239.1 kB / 2.439 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/8.274, allocations: 152.9 kB / 2.439 GB, free: 66.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/8.278, allocations: 1.867 MB / 2.44 GB, free: 66.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.883e-05/8.278, allocations: 9.531 kB / 2.44 GB, free: 66.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/8.278, allocations: 0 / 2.44 GB, free: 66.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/8.278, allocations: 10.53 kB / 2.44 GB, free: 66.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/8.281, allocations: 1.178 MB / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.006e-06/8.281, allocations: 0 / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/8.282, allocations: 240.6 kB / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-05/8.283, allocations: 3.844 kB / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/8.283, allocations: 31.69 kB / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/8.283, allocations: 0 / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/8.283, allocations: 6.75 kB / 2.442 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004703/8.287, allocations: 2.261 MB / 2.444 GB, free: 66.41 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00653/8.294, allocations: 3.458 MB / 2.448 GB, free: 65.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/8.295, allocations: 233.7 kB / 2.448 GB, free: 65.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007266/8.296, allocations: 13.5 kB / 2.448 GB, free: 65.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/8.298, allocations: 173.8 kB / 2.448 GB, free: 65.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/8.298, allocations: 56.58 kB / 2.448 GB, free: 65.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/8.298, allocations: 54.56 kB / 2.448 GB, free: 65.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001841/8.3, allocations: 0.7095 MB / 2.449 GB, free: 65.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006283/8.306, allocations: 1.138 MB / 2.45 GB, free: 65.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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 (88): * Single equations (assignments): 70 * 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.00268/8.309, allocations: 1.002 MB / 2.451 GB, free: 65.16 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003395/8.312, allocations: 1.895 MB / 2.453 GB, free: 64.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/8.313, allocations: 0 / 2.453 GB, free: 64.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/8.314, allocations: 0.7551 MB / 2.453 GB, free: 64.85 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/8.317, allocations: 0.4998 MB / 2.454 GB, free: 64.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/8.324, allocations: 2.642 MB / 2.456 GB, free: 64.27 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/8.326, allocations: 1.513 MB / 2.458 GB, free: 63.55 MB / 0.6667 GB Notification: Performance of SimCode: time 1.954e-06/8.326, allocations: 0 / 2.458 GB, free: 63.55 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)