Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 176.3 kB / 487 MB, free: 5.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 221.3 MB / 0.7819 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.000965, allocations: 93.83 kB / 0.9213 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6841/0.6851, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/1.004, allocations: 142.3 MB / 1.205 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.376/6.38, allocations: 2.188 GB / 3.393 GB, free: 113.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/6.38, allocations: 87.83 kB / 3.393 GB, free: 113.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 12.11/18.49, allocations: 3.413 GB / 6.806 GB, free: 92.3 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/18.49, allocations: 9.688 kB / 6.806 GB, free: 92.3 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/18.5, allocations: 2.224 MB / 6.808 GB, free: 92.02 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/18.51, allocations: 4.292 MB / 6.812 GB, free: 91.43 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00283/18.52, allocations: 0.8487 MB / 6.813 GB, free: 91.42 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/18.52, allocations: 204.9 kB / 6.813 GB, free: 91.42 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006606/18.52, allocations: 3.548 MB / 6.816 GB, free: 91.4 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006405/18.53, allocations: 3.771 MB / 6.82 GB, free: 91.05 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/18.53, allocations: 5.281 kB / 6.82 GB, free: 91.05 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/18.53, allocations: 3.781 kB / 6.82 GB, free: 91.05 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000146/18.53, allocations: 159.3 kB / 6.82 GB, free: 91.04 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03443/18.56, allocations: 19.37 MB / 6.839 GB, free: 82.79 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/18.57, allocations: 2.563 MB / 6.842 GB, free: 82.73 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/18.57, allocations: 1.423 MB / 6.843 GB, free: 82.72 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/18.57, allocations: 0.7034 MB / 6.844 GB, free: 82.06 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/18.57, allocations: 1.738 MB / 6.846 GB, free: 81.96 MB / 1.276 GB Notification: Performance of pre-optimization done (n=251): time 4.649e-06/18.57, allocations: 3.062 kB / 6.846 GB, free: 81.96 MB / 1.276 GB Notification: Performance of matching and sorting (n=251): time 0.007659/18.58, allocations: 3.191 MB / 6.849 GB, free: 81.69 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/18.58, allocations: 112 kB / 6.849 GB, free: 81.59 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/18.59, allocations: 2.456 MB / 6.851 GB, free: 81.29 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0004917/18.59, allocations: 33.17 kB / 6.851 GB, free: 81.25 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/18.59, allocations: 1.216 MB / 6.852 GB, free: 80.62 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006486/18.59, allocations: 0.7998 MB / 6.853 GB, free: 80.08 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/18.59, allocations: 3.125 kB / 6.853 GB, free: 80.08 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001352/18.59, allocations: 420.2 kB / 6.854 GB, free: 79.77 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/18.59, allocations: 1.346 MB / 6.855 GB, free: 79.76 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/18.59, allocations: 2.143 MB / 6.857 GB, free: 78.93 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/18.6, allocations: 1.691 MB / 6.859 GB, free: 78.88 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/18.6, allocations: 8.25 kB / 6.859 GB, free: 78.88 MB / 1.276 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008121/18.6, allocations: 3.957 MB / 6.862 GB, free: 78.58 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001019/18.61, allocations: 6.047 MB / 6.868 GB, free: 72.19 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/18.61, allocations: 13.09 kB / 6.868 GB, free: 72.19 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/18.61, allocations: 37.27 kB / 6.868 GB, free: 72.18 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006795/18.61, allocations: 1.258 MB / 6.87 GB, free: 72.18 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/18.61, allocations: 6.06 MB / 6.876 GB, free: 66.34 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00721/18.62, allocations: 0.7857 MB / 6.876 GB, free: 66.19 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/18.62, allocations: 170.8 kB / 6.876 GB, free: 66.19 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/18.62, allocations: 3.531 kB / 6.876 GB, free: 66.19 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007612/18.63, allocations: 3.512 MB / 6.88 GB, free: 66.11 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/18.63, allocations: 13.25 kB / 6.88 GB, free: 66.11 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/18.63, allocations: 33.17 kB / 6.88 GB, free: 66.11 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005625/18.64, allocations: 1.168 MB / 6.881 GB, free: 66.11 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.112e-05/18.64, allocations: 38.39 kB / 6.881 GB, free: 66.11 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006443/18.64, allocations: 0.7379 MB / 6.882 GB, free: 66 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007851/18.64, allocations: 167.7 kB / 6.882 GB, free: 66 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009657/18.64, allocations: 187.5 kB / 6.882 GB, free: 65.88 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/18.65, allocations: 392.8 kB / 6.883 GB, free: 65.68 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/18.65, allocations: 3.778 MB / 6.886 GB, free: 65.45 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/18.65, allocations: 32.09 kB / 6.886 GB, free: 65.45 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/18.65, allocations: 3.906 kB / 6.886 GB, free: 65.45 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/18.65, allocations: 13.64 kB / 6.886 GB, free: 65.45 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/18.67, allocations: 7.771 MB / 6.894 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/18.67, allocations: 9.188 kB / 6.894 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004786/18.68, allocations: 0.9557 MB / 6.895 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/18.68, allocations: 14.47 kB / 6.895 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002761/18.68, allocations: 63.02 kB / 6.895 GB, free: 64.77 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/18.68, allocations: 5.968 MB / 6.901 GB, free: 58.93 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/18.68, allocations: 12.69 kB / 6.901 GB, free: 58.93 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007689/18.69, allocations: 4.136 MB / 6.905 GB, free: 57.63 MB / 1.276 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008786/18.69, allocations: 4.978 MB / 6.91 GB, free: 55.97 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/18.7, allocations: 0.9633 MB / 6.911 GB, free: 55.64 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/18.7, allocations: 7 kB / 6.911 GB, free: 55.64 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006483/18.71, allocations: 0.6298 MB / 6.911 GB, free: 55.62 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/18.71, allocations: 177.4 kB / 6.911 GB, free: 55.61 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004807/18.71, allocations: 136.6 kB / 6.912 GB, free: 55.61 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.003862/18.71, allocations: 1.782 MB / 6.913 GB, free: 55.43 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01501/18.73, allocations: 4.376 MB / 6.918 GB, free: 55.13 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009851/18.74, allocations: 6.984 MB / 6.924 GB, free: 51.71 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01394/18.75, allocations: 5.624 MB / 6.93 GB, free: 51.56 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/18.75, allocations: 0 / 6.93 GB, free: 51.56 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.003469/18.75, allocations: 1.781 MB / 6.932 GB, free: 51.55 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009346/18.76, allocations: 1.452 MB / 6.933 GB, free: 51.5 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/18.78, allocations: 6.244 MB / 6.939 GB, free: 50 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/18.79, allocations: 2.937 MB / 6.942 GB, free: 49.21 MB / 1.276 GB Notification: Performance of SimCode: time 2.284e-06/18.79, allocations: 0.75 kB / 6.942 GB, free: 49.21 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)