Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T",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.8141/0.8141, 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.001413/0.001412, allocations: 185.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 2.029/2.029, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001151/0.001151, allocations: 86.83 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3652/0.3664, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.5927, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.69/6.283, allocations: 2.205 GB / 2.826 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/6.283, allocations: 95.94 kB / 2.826 GB, free: 2.383 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 8.633/14.92, allocations: 2.051 GB / 4.877 GB, free: 62.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/14.92, allocations: 7.781 kB / 4.877 GB, free: 62.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006632/14.92, allocations: 0.8263 MB / 4.878 GB, free: 62.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/14.93, allocations: 2.305 MB / 4.88 GB, free: 62.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/14.93, allocations: 45 kB / 4.88 GB, free: 62.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/14.94, allocations: 95.03 kB / 4.88 GB, free: 62.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002569/14.94, allocations: 1.212 MB / 4.881 GB, free: 62.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/14.94, allocations: 1.444 MB / 4.883 GB, free: 62.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/14.94, allocations: 6.25 kB / 4.883 GB, free: 62.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/14.94, allocations: 0 / 4.883 GB, free: 62.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/14.94, allocations: 50.81 kB / 4.883 GB, free: 62.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/14.95, allocations: 7.752 MB / 4.89 GB, free: 57.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/14.95, allocations: 0.7833 MB / 4.891 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/14.96, allocations: 449.1 kB / 4.892 GB, free: 57.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/14.96, allocations: 0.8396 MB / 4.892 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/14.96, allocations: 0.5547 MB / 4.893 GB, free: 56.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 4.969e-06/14.96, allocations: 0 / 4.893 GB, free: 56.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.003849/14.96, allocations: 1.111 MB / 4.894 GB, free: 56.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/14.96, allocations: 297.9 kB / 4.894 GB, free: 56.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/14.96, allocations: 1.29 MB / 4.896 GB, free: 56.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/14.96, allocations: 25.7 kB / 4.896 GB, free: 56.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/14.96, allocations: 0.6431 MB / 4.896 GB, free: 55.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/14.96, allocations: 273 kB / 4.897 GB, free: 55.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/14.96, allocations: 2.156 kB / 4.897 GB, free: 55.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/14.97, allocations: 354.4 kB / 4.897 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/14.97, allocations: 362.1 kB / 4.897 GB, free: 55.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/14.97, allocations: 0.7716 MB / 4.898 GB, free: 55.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/14.97, allocations: 0.5793 MB / 4.899 GB, free: 55.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/14.97, allocations: 3.906 kB / 4.899 GB, free: 55.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002839/14.97, allocations: 1.322 MB / 4.9 GB, free: 54.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008395/14.97, allocations: 3.628 MB / 4.903 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/14.97, allocations: 10.91 kB / 4.903 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/14.97, allocations: 20.62 kB / 4.903 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/14.97, allocations: 272.7 kB / 4.904 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/14.97, allocations: 19 kB / 4.904 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/14.98, allocations: 196.4 kB / 4.904 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/14.98, allocations: 54.22 kB / 4.904 GB, free: 51.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/14.98, allocations: 3.781 kB / 4.904 GB, free: 51.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00209/14.98, allocations: 1.067 MB / 4.905 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/14.98, allocations: 9.625 kB / 4.905 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/14.98, allocations: 17.41 kB / 4.905 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/14.98, allocations: 259.8 kB / 4.905 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/14.98, allocations: 20.44 kB / 4.905 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/14.98, allocations: 161 kB / 4.905 GB, free: 51.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/14.98, allocations: 52.62 kB / 4.905 GB, free: 51.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (138): * Single equations (assignments): 134 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003436/14.98, allocations: 150.5 kB / 4.906 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/14.98, allocations: 187.8 kB / 4.906 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/14.98, allocations: 1.061 MB / 4.907 GB, free: 50.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/14.98, allocations: 12.98 kB / 4.907 GB, free: 50.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/14.98, allocations: 6.625 kB / 4.907 GB, free: 50.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001607/14.99, allocations: 1.123 MB / 4.908 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/14.99, allocations: 1.453 MB / 4.909 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/14.99, allocations: 0 / 4.909 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/14.99, allocations: 175 kB / 4.91 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/14.99, allocations: 51.34 kB / 4.91 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/14.99, allocations: 15.52 kB / 4.91 GB, free: 49.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/14.99, allocations: 1.369 MB / 4.911 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/14.99, allocations: 4.906 kB / 4.911 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002814/14.99, allocations: 1.519 MB / 4.912 GB, free: 48.54 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004494/15, allocations: 2.563 MB / 4.915 GB, free: 47.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/15, allocations: 362.3 kB / 4.915 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000632/15, allocations: 11.08 kB / 4.915 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/15, allocations: 122.9 kB / 4.915 GB, free: 47.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/15, allocations: 49.44 kB / 4.915 GB, free: 47.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/15, allocations: 33.02 kB / 4.915 GB, free: 47.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.00182/15, allocations: 0.9533 MB / 4.916 GB, free: 47.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008506/15.01, allocations: 2.084 MB / 4.918 GB, free: 47.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (82): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006262/15.02, allocations: 3.785 MB / 4.922 GB, free: 46.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003123/15.02, allocations: 1.608 MB / 4.924 GB, free: 45.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/15.02, allocations: 3.219 kB / 4.924 GB, free: 45.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/15.02, allocations: 0.495 MB / 4.924 GB, free: 45.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/15.03, allocations: 0.742 MB / 4.925 GB, free: 45.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008847/15.04, allocations: 3.052 MB / 4.928 GB, free: 45.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/15.04, allocations: 1.721 MB / 4.93 GB, free: 44.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.285e-06/15.04, allocations: 1.75 kB / 4.93 GB, free: 44.43 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)