Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness") [: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.7409/0.7409, 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.001238/0.001239, allocations: 181.3 kB / 164.4 MB, free: 6.875 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.86/1.86, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001077/0.001077, allocations: 94.48 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.774e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2018, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.251/6.453, allocations: 2.395 GB / 3.016 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/6.453, allocations: 89.72 kB / 3.016 GB, free: 51.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.741/9.194, allocations: 0.7734 GB / 3.789 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001011/9.194, allocations: 28 kB / 3.789 GB, free: 5.582 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00443/9.199, allocations: 1.55 MB / 3.791 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/9.199, allocations: 8.031 kB / 3.791 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/9.201, allocations: 474.2 kB / 3.791 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/9.204, allocations: 1.053 MB / 3.792 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000595/9.204, allocations: 177.9 kB / 3.792 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/9.205, allocations: 44 kB / 3.792 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/9.206, allocations: 0.7654 MB / 3.793 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/9.207, allocations: 0.8192 MB / 3.794 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/9.207, allocations: 4 kB / 3.794 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/9.207, allocations: 3.906 kB / 3.794 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/9.207, allocations: 37.98 kB / 3.794 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007996/9.215, allocations: 4.081 MB / 3.798 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/9.216, allocations: 0.555 MB / 3.799 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/9.217, allocations: 318.1 kB / 3.799 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/9.218, allocations: 0.6486 MB / 3.8 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006932/9.219, allocations: 384.3 kB / 3.8 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=54): time 3.687e-06/9.219, allocations: 0 / 3.8 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54): time 0.002572/9.221, allocations: 0.7829 MB / 3.801 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/9.221, allocations: 63.84 kB / 3.801 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/9.222, allocations: 0.5511 MB / 3.801 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/9.222, allocations: 29.7 kB / 3.801 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/9.223, allocations: 327.8 kB / 3.802 GB, free: 8.359 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/9.223, allocations: 177.2 kB / 3.802 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/9.223, allocations: 0 / 3.802 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001918/9.223, allocations: 334 kB / 3.802 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/9.224, allocations: 269.2 kB / 3.802 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/9.225, allocations: 425.9 kB / 3.803 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/9.225, allocations: 345.3 kB / 3.803 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/9.225, allocations: 0 / 3.803 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001713/9.227, allocations: 0.7804 MB / 3.804 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004491/9.228, allocations: 0.8775 MB / 3.805 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/9.228, allocations: 8 kB / 3.805 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/9.228, allocations: 4 kB / 3.805 GB, free: 5.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/9.231, allocations: 435.4 kB / 3.805 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/9.233, allocations: 1.355 MB / 3.806 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/9.234, allocations: 183.5 kB / 3.807 GB, free: 3.027 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/9.234, allocations: 39.97 kB / 3.807 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/9.234, allocations: 4 kB / 3.807 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001565/9.236, allocations: 0.6547 MB / 3.807 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/9.236, allocations: 0 / 3.807 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/9.236, allocations: 8 kB / 3.807 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/9.237, allocations: 239.9 kB / 3.808 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/9.237, allocations: 4 kB / 3.808 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/9.239, allocations: 175.4 kB / 3.808 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/9.239, allocations: 39.97 kB / 3.808 GB, free: 1.871 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002803/9.239, allocations: 116.9 kB / 3.808 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/9.239, allocations: 86.88 kB / 3.808 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/9.241, allocations: 0.8485 MB / 3.809 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/9.241, allocations: 8 kB / 3.809 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/9.241, allocations: 3.938 kB / 3.809 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/9.241, allocations: 7.891 kB / 3.809 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3882/9.63, allocations: 1.899 MB / 3.811 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/9.63, allocations: 5.219 kB / 3.811 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/9.633, allocations: 441 kB / 3.811 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.021e-05/9.633, allocations: 6.281 kB / 3.811 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/9.633, allocations: 14.84 kB / 3.811 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/9.637, allocations: 2.914 MB / 3.814 GB, free: 152.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/9.637, allocations: 2.938 kB / 3.814 GB, free: 152.3 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002075/9.639, allocations: 1.005 MB / 3.815 GB, free: 152 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/9.64, allocations: 269.1 kB / 3.815 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/9.64, allocations: 8.844 kB / 3.815 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/9.641, allocations: 167.5 kB / 3.815 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/9.641, allocations: 51.45 kB / 3.815 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.544e-05/9.641, allocations: 27.94 kB / 3.815 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000612/9.642, allocations: 446.2 kB / 3.816 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002022/9.644, allocations: 0.5891 MB / 3.816 GB, free: 151.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002787/9.647, allocations: 1.896 MB / 3.818 GB, free: 151.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004233/9.651, allocations: 1.379 MB / 3.82 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/9.651, allocations: 2.812 kB / 3.82 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002925/9.654, allocations: 0.6696 MB / 3.82 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/9.656, allocations: 325.5 kB / 3.821 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/9.66, allocations: 1.323 MB / 3.822 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/9.661, allocations: 1.151 MB / 3.823 GB, free: 150.1 MB / 0.6667 GB Notification: Performance of SimCode: time 3.326e-06/9.661, allocations: 2.719 kB / 3.823 GB, free: 150.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.05612/9.717, allocations: 30.47 MB / 3.853 GB, free: 149.7 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)