Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.315/2.315, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.002139/0.002139, allocations: 181.2 kB / 490.8 MB, free: 1.879 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.733/1.733, allocations: 221.3 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001323, allocations: 94.72 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7762/0.7775, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/1.108, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.807, allocations: 2.189 GB / 3.4 GB, free: 91.48 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/6.807, allocations: 80.2 kB / 3.4 GB, free: 91.45 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 13.64/20.44, allocations: 3.413 GB / 6.813 GB, free: 103.9 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/20.44, allocations: 10.22 kB / 6.813 GB, free: 103.9 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/20.46, allocations: 2.224 MB / 6.816 GB, free: 103.6 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/20.47, allocations: 4.303 MB / 6.82 GB, free: 103 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003199/20.48, allocations: 0.8453 MB / 6.821 GB, free: 103 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/20.48, allocations: 202.8 kB / 6.821 GB, free: 103 MB / 1.292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008317/20.49, allocations: 3.535 MB / 6.824 GB, free: 103 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007429/20.5, allocations: 3.771 MB / 6.828 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.704e-05/20.5, allocations: 4.906 kB / 6.828 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003974/20.5, allocations: 5.062 kB / 6.828 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/20.5, allocations: 155.1 kB / 6.828 GB, free: 102.6 MB / 1.292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04082/20.54, allocations: 19.36 MB / 6.847 GB, free: 94.39 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/20.54, allocations: 2.526 MB / 6.849 GB, free: 94.33 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/20.54, allocations: 1.408 MB / 6.851 GB, free: 94.32 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009408/20.54, allocations: 0.7028 MB / 6.851 GB, free: 93.66 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/20.55, allocations: 1.733 MB / 6.853 GB, free: 93.57 MB / 1.292 GB Notification: Performance of pre-optimization done (n=247): time 5.25e-06/20.55, allocations: 0 / 6.853 GB, free: 93.57 MB / 1.292 GB Notification: Performance of matching and sorting (n=247): time 0.008772/20.56, allocations: 3.175 MB / 6.856 GB, free: 93.29 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/20.56, allocations: 106.6 kB / 6.856 GB, free: 93.2 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/20.56, allocations: 2.468 MB / 6.859 GB, free: 92.89 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008637/20.56, allocations: 32.86 kB / 6.859 GB, free: 92.86 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/20.56, allocations: 1.227 MB / 6.86 GB, free: 92.22 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/20.57, allocations: 0.8013 MB / 6.861 GB, free: 91.68 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/20.57, allocations: 0 / 6.861 GB, free: 91.68 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0002198/20.57, allocations: 421.4 kB / 6.861 GB, free: 91.37 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/20.57, allocations: 1.335 MB / 6.862 GB, free: 91.36 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/20.57, allocations: 2.131 MB / 6.865 GB, free: 90.54 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/20.58, allocations: 1.69 MB / 6.866 GB, free: 90.48 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/20.58, allocations: 3.094 kB / 6.866 GB, free: 90.48 MB / 1.292 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.0104/20.59, allocations: 3.938 MB / 6.87 GB, free: 90.18 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002283/20.59, allocations: 5.953 MB / 6.876 GB, free: 83.89 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/20.59, allocations: 16.38 kB / 6.876 GB, free: 83.89 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/20.59, allocations: 29 kB / 6.876 GB, free: 83.89 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008539/20.6, allocations: 1.271 MB / 6.877 GB, free: 83.89 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/20.6, allocations: 6.06 MB / 6.883 GB, free: 78.04 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008237/20.61, allocations: 0.7824 MB / 6.884 GB, free: 77.9 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/20.61, allocations: 170.8 kB / 6.884 GB, free: 77.9 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/20.61, allocations: 3.281 kB / 6.884 GB, free: 77.9 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007784/20.62, allocations: 3.491 MB / 6.887 GB, free: 77.82 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/20.62, allocations: 12.12 kB / 6.887 GB, free: 77.82 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/20.62, allocations: 30.56 kB / 6.887 GB, free: 77.82 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/20.62, allocations: 1.161 MB / 6.889 GB, free: 77.82 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.675e-05/20.62, allocations: 38.91 kB / 6.889 GB, free: 77.82 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/20.63, allocations: 0.7459 MB / 6.889 GB, free: 77.71 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/20.63, allocations: 163.8 kB / 6.89 GB, free: 77.71 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 387 * 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.001289/20.63, allocations: 175.9 kB / 6.89 GB, free: 77.59 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/20.63, allocations: 397.6 kB / 6.89 GB, free: 77.39 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008861/20.64, allocations: 3.759 MB / 6.894 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/20.64, allocations: 27.69 kB / 6.894 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/20.64, allocations: 2.562 kB / 6.894 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-05/20.64, allocations: 20.88 kB / 6.894 GB, free: 77.16 MB / 1.292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/20.66, allocations: 7.752 MB / 6.901 GB, free: 76.49 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/20.66, allocations: 3.906 kB / 6.901 GB, free: 76.49 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004974/20.67, allocations: 0.9555 MB / 6.902 GB, free: 76.49 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-05/20.67, allocations: 13.97 kB / 6.902 GB, free: 76.49 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/20.67, allocations: 59.92 kB / 6.902 GB, free: 76.49 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/20.67, allocations: 5.973 MB / 6.908 GB, free: 70.64 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/20.67, allocations: 5.219 kB / 6.908 GB, free: 70.64 MB / 1.292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008752/20.68, allocations: 4.119 MB / 6.912 GB, free: 69.35 MB / 1.292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01067/20.69, allocations: 4.958 MB / 6.917 GB, free: 67.69 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005114/20.69, allocations: 0.9719 MB / 6.918 GB, free: 67.35 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/20.7, allocations: 8.906 kB / 6.918 GB, free: 67.35 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007531/20.7, allocations: 0.6584 MB / 6.919 GB, free: 67.34 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/20.7, allocations: 175.1 kB / 6.919 GB, free: 67.33 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/20.7, allocations: 139.4 kB / 6.919 GB, free: 67.33 MB / 1.292 GB Notification: Performance of sort global known variables: time 0.003547/20.71, allocations: 1.786 MB / 6.921 GB, free: 67.15 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01679/20.72, allocations: 4.379 MB / 6.925 GB, free: 66.85 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 265 * 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.01247/20.74, allocations: 6.995 MB / 6.932 GB, free: 63.42 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01593/20.75, allocations: 5.582 MB / 6.937 GB, free: 63.27 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/20.75, allocations: 3.219 kB / 6.937 GB, free: 63.27 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/20.76, allocations: 1.731 MB / 6.939 GB, free: 63.26 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/20.77, allocations: 1.431 MB / 6.94 GB, free: 63.21 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/20.78, allocations: 6.243 MB / 6.946 GB, free: 61.71 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004056/20.79, allocations: 2.939 MB / 6.949 GB, free: 60.92 MB / 1.292 GB Notification: Performance of SimCode: time 1.593e-06/20.79, allocations: 0 / 6.949 GB, free: 60.92 MB / 1.292 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)