Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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.Examples.AirHeater_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u",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.7654/0.7654, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001411/0.001411, allocations: 177.3 kB / 164.4 MB, free: 6.855 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.086/2.086, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001154/0.001154, allocations: 86.98 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3813/0.3825, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.6499, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.514, allocations: 2.198 GB / 2.819 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/6.514, allocations: 93.7 kB / 2.819 GB, free: 9.266 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: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 7.847/14.36, allocations: 1.969 GB / 4.789 GB, free: 49.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/14.36, allocations: 10.19 kB / 4.789 GB, free: 49.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007155/14.37, allocations: 0.8369 MB / 4.789 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/14.38, allocations: 2.478 MB / 4.792 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/14.38, allocations: 50.25 kB / 4.792 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008545/14.38, allocations: 104.8 kB / 4.792 GB, free: 49.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004879/14.38, allocations: 1.41 MB / 4.793 GB, free: 49.15 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/14.39, allocations: 1.634 MB / 4.795 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/14.39, allocations: 8.688 kB / 4.795 GB, free: 48.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/14.39, allocations: 6.969 kB / 4.795 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/14.39, allocations: 55.8 kB / 4.795 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/14.41, allocations: 8.508 MB / 4.803 GB, free: 44.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/14.41, allocations: 0.9534 MB / 4.804 GB, free: 44.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/14.41, allocations: 0.5988 MB / 4.805 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/14.41, allocations: 284.8 kB / 4.805 GB, free: 43.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/14.41, allocations: 0.6998 MB / 4.806 GB, free: 43.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=99): time 4.668e-06/14.41, allocations: 0 / 4.806 GB, free: 43.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102): time 0.01541/14.43, allocations: 3.36 MB / 4.809 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/14.43, allocations: 295.4 kB / 4.809 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004955/14.43, allocations: 1.257 MB / 4.811 GB, free: 40.65 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004889/14.43, allocations: 32.47 kB / 4.811 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/14.44, allocations: 0.6637 MB / 4.811 GB, free: 40.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000962/14.44, allocations: 350.1 kB / 4.812 GB, free: 39.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/14.44, allocations: 1.094 kB / 4.812 GB, free: 39.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002108/14.44, allocations: 356 kB / 4.812 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/14.44, allocations: 458.8 kB / 4.812 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/14.44, allocations: 0.8418 MB / 4.813 GB, free: 38.71 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/14.45, allocations: 2.092 MB / 4.815 GB, free: 38.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/14.45, allocations: 4 kB / 4.815 GB, free: 38.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004005/14.45, allocations: 1.574 MB / 4.817 GB, free: 36.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008093/14.46, allocations: 3.184 MB / 4.82 GB, free: 33.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/14.46, allocations: 12.56 kB / 4.82 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/14.46, allocations: 36.33 kB / 4.82 GB, free: 33.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/14.46, allocations: 307.5 kB / 4.82 GB, free: 32.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/14.46, allocations: 1.412 MB / 4.822 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/14.46, allocations: 137.8 kB / 4.822 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/14.46, allocations: 58.7 kB / 4.822 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/14.46, allocations: 4 kB / 4.822 GB, free: 31.28 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003223/14.46, allocations: 1.316 MB / 4.823 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/14.47, allocations: 9.5 kB / 4.823 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/14.47, allocations: 40.28 kB / 4.823 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/14.47, allocations: 295.7 kB / 4.823 GB, free: 29.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/14.47, allocations: 1.396 MB / 4.825 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/14.47, allocations: 136.1 kB / 4.825 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/14.47, allocations: 56.36 kB / 4.825 GB, free: 28.2 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005898/14.47, allocations: 142.2 kB / 4.825 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009114/14.47, allocations: 197.3 kB / 4.825 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/14.48, allocations: 1.345 MB / 4.827 GB, free: 26.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/14.48, allocations: 13.88 kB / 4.827 GB, free: 26.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/14.48, allocations: 7.891 kB / 4.827 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001843/14.48, allocations: 1.095 MB / 4.828 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009179/14.49, allocations: 3.123 MB / 4.831 GB, free: 22.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/14.49, allocations: 4 kB / 4.831 GB, free: 22.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/14.49, allocations: 235.4 kB / 4.831 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/14.49, allocations: 72.89 kB / 4.831 GB, free: 21.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/14.49, allocations: 11.98 kB / 4.831 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/14.49, allocations: 2.627 MB / 4.834 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/14.49, allocations: 0 / 4.834 GB, free: 19.04 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003707/14.49, allocations: 2.028 MB / 4.836 GB, free: 16.95 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005499/14.5, allocations: 3.241 MB / 4.839 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/14.5, allocations: 386.6 kB / 4.839 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/14.5, allocations: 10.34 kB / 4.839 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/14.51, allocations: 136.2 kB / 4.839 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/14.51, allocations: 67.91 kB / 4.839 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/14.51, allocations: 35.98 kB / 4.839 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002613/14.51, allocations: 0.9424 MB / 4.84 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01161/14.52, allocations: 2.039 MB / 4.842 GB, free: 10.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007986/14.53, allocations: 3.71 MB / 4.846 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00462/14.53, allocations: 2.167 MB / 4.848 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/14.53, allocations: 3.906 kB / 4.848 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/14.53, allocations: 0.719 MB / 4.849 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005818/14.54, allocations: 0.9032 MB / 4.85 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/14.55, allocations: 3.279 MB / 4.853 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003541/14.56, allocations: 1.831 MB / 4.855 GB, free: 13.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/14.56, allocations: 3.938 kB / 4.855 GB, free: 13.73 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)