Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 181.6 kB / 7.459 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7174/0.7174, allocations: 133.5 MB / 141.4 MB, free: 4.859 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.3 MB / 395 MB, free: 13.78 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 94.91 kB / 477.8 MB, free: 11.06 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3783/0.3795, allocations: 88.43 MB / 0.5529 GB, free: 49.91 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/1.048, allocations: 82.3 MB / 0.6333 GB, free: 5.633 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.287/6.334, allocations: 2.15 GB / 2.784 GB, free: 182.8 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/6.335, allocations: 83.95 kB / 2.784 GB, free: 182.7 MB / 0.6746 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 14.25/20.59, allocations: 3.419 GB / 6.203 GB, free: 49.12 MB / 0.8308 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/20.59, allocations: 10.34 kB / 6.203 GB, free: 49.12 MB / 0.8308 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/20.6, allocations: 2.222 MB / 6.205 GB, free: 48.83 MB / 0.8308 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/20.62, allocations: 4.304 MB / 6.209 GB, free: 48.09 MB / 0.8308 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003303/20.62, allocations: 0.847 MB / 6.21 GB, free: 48.09 MB / 0.8308 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/20.63, allocations: 206.4 kB / 6.21 GB, free: 48.09 MB / 0.8308 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01038/20.64, allocations: 3.549 MB / 6.214 GB, free: 48.07 MB / 0.8308 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/20.65, allocations: 3.77 MB / 6.218 GB, free: 47.72 MB / 0.8308 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/20.65, allocations: 4.156 kB / 6.218 GB, free: 47.72 MB / 0.8308 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005227/20.65, allocations: 0 / 6.218 GB, free: 47.72 MB / 0.8308 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/20.65, allocations: 164.1 kB / 6.218 GB, free: 47.71 MB / 0.8308 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/20.69, allocations: 19.37 MB / 6.237 GB, free: 39.46 MB / 0.8308 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/20.7, allocations: 2.563 MB / 6.239 GB, free: 39.41 MB / 0.8308 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/20.7, allocations: 1.423 MB / 6.241 GB, free: 39.39 MB / 0.8308 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008841/20.7, allocations: 0.6987 MB / 6.241 GB, free: 38.73 MB / 0.8308 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003012/20.7, allocations: 1.737 MB / 6.243 GB, free: 38.64 MB / 0.8308 GB Notification: Performance of pre-optimization done (n=251): time 4.458e-06/20.7, allocations: 0 / 6.243 GB, free: 38.64 MB / 0.8308 GB Notification: Performance of matching and sorting (n=251): time 0.008448/20.71, allocations: 3.197 MB / 6.246 GB, free: 38.36 MB / 0.8308 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/20.71, allocations: 106 kB / 6.246 GB, free: 38.27 MB / 0.8308 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/20.72, allocations: 2.456 MB / 6.249 GB, free: 37.96 MB / 0.8308 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/20.72, allocations: 34.22 kB / 6.249 GB, free: 37.93 MB / 0.8308 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/20.72, allocations: 1.222 MB / 6.25 GB, free: 37.29 MB / 0.8308 GB Notification: Performance of collectInitialBindings (initialization): time 0.001011/20.72, allocations: 0.8079 MB / 6.251 GB, free: 36.75 MB / 0.8308 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/20.72, allocations: 0 / 6.251 GB, free: 36.75 MB / 0.8308 GB Notification: Performance of setup shared object (initialization): time 0.0001722/20.72, allocations: 425.8 kB / 6.251 GB, free: 36.44 MB / 0.8308 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002522/20.72, allocations: 1.344 MB / 6.252 GB, free: 36.43 MB / 0.8308 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003219/20.73, allocations: 2.169 MB / 6.254 GB, free: 35.56 MB / 0.8308 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/20.73, allocations: 1.702 MB / 6.256 GB, free: 35.51 MB / 0.8308 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/20.73, allocations: 2.625 kB / 6.256 GB, free: 35.51 MB / 0.8308 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.009828/20.74, allocations: 3.963 MB / 6.26 GB, free: 35.21 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 0.001907/20.74, allocations: 6.047 MB / 6.266 GB, free: 28.81 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/20.74, allocations: 12.72 kB / 6.266 GB, free: 28.81 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.14e-05/20.74, allocations: 33.28 kB / 6.266 GB, free: 28.81 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007977/20.75, allocations: 1.266 MB / 6.267 GB, free: 28.81 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/20.75, allocations: 6.064 MB / 6.273 GB, free: 22.96 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/20.77, allocations: 0.7819 MB / 6.274 GB, free: 22.81 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/20.77, allocations: 169.3 kB / 6.274 GB, free: 22.81 MB / 0.8308 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/20.77, allocations: 5 kB / 6.274 GB, free: 22.81 MB / 0.8308 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009205/20.78, allocations: 3.513 MB / 6.277 GB, free: 22.73 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/20.78, allocations: 13.88 kB / 6.277 GB, free: 22.73 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/20.78, allocations: 31.75 kB / 6.277 GB, free: 22.73 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/20.78, allocations: 1.165 MB / 6.279 GB, free: 22.73 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.934e-05/20.78, allocations: 38.27 kB / 6.279 GB, free: 22.73 MB / 0.8308 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008175/20.79, allocations: 0.7398 MB / 6.279 GB, free: 22.62 MB / 0.8308 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/20.79, allocations: 166.7 kB / 6.28 GB, free: 22.62 MB / 0.8308 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.002433/20.79, allocations: 179.6 kB / 6.28 GB, free: 22.51 MB / 0.8308 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002315/20.8, allocations: 396.9 kB / 6.28 GB, free: 22.3 MB / 0.8308 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/20.81, allocations: 3.774 MB / 6.284 GB, free: 22.12 MB / 0.8308 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/20.81, allocations: 26.81 kB / 6.284 GB, free: 22.12 MB / 0.8308 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/20.81, allocations: 2.812 kB / 6.284 GB, free: 22.12 MB / 0.8308 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/20.81, allocations: 15.75 kB / 6.284 GB, free: 22.12 MB / 0.8308 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/20.84, allocations: 7.785 MB / 6.291 GB, free: 21.43 MB / 0.8308 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/20.84, allocations: 8.688 kB / 6.291 GB, free: 21.43 MB / 0.8308 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005616/20.84, allocations: 0.9612 MB / 6.292 GB, free: 21.43 MB / 0.8308 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.595e-05/20.84, allocations: 12.78 kB / 6.292 GB, free: 21.43 MB / 0.8308 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000748/20.84, allocations: 57.11 kB / 6.292 GB, free: 21.43 MB / 0.8308 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/20.85, allocations: 5.972 MB / 6.298 GB, free: 31.58 MB / 0.8464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/20.85, allocations: 7.844 kB / 6.298 GB, free: 31.58 MB / 0.8464 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01228/20.86, allocations: 4.129 MB / 6.302 GB, free: 30.29 MB / 0.8464 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01522/20.87, allocations: 4.985 MB / 6.307 GB, free: 28.62 MB / 0.8464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005297/20.88, allocations: 0.9582 MB / 6.308 GB, free: 28.29 MB / 0.8464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/20.88, allocations: 11.89 kB / 6.308 GB, free: 28.29 MB / 0.8464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008123/20.89, allocations: 0.6244 MB / 6.309 GB, free: 28.28 MB / 0.8464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009932/20.89, allocations: 183.2 kB / 6.309 GB, free: 28.27 MB / 0.8464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001154/20.89, allocations: 134 kB / 6.309 GB, free: 28.27 MB / 0.8464 GB Notification: Performance of sort global known variables: time 0.006174/20.9, allocations: 1.781 MB / 6.311 GB, free: 28.09 MB / 0.8464 GB Notification: Performance of remove unused functions: time 0.02534/20.92, allocations: 4.376 MB / 6.315 GB, free: 27.79 MB / 0.8464 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.01696/20.94, allocations: 6.981 MB / 6.322 GB, free: 24.38 MB / 0.8464 GB Notification: Performance of simCode: created initialization part: time 0.0194/20.96, allocations: 5.614 MB / 6.327 GB, free: 24.23 MB / 0.8464 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-05/20.96, allocations: 3.406 kB / 6.327 GB, free: 24.23 MB / 0.8464 GB Notification: Performance of simCode: created simulation system equations: time 0.006148/20.97, allocations: 1.789 MB / 6.329 GB, free: 24.21 MB / 0.8464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/20.98, allocations: 1.444 MB / 6.33 GB, free: 24.17 MB / 0.8464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/21, allocations: 6.256 MB / 6.337 GB, free: 22.67 MB / 0.8464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008405/21.01, allocations: 2.941 MB / 6.339 GB, free: 21.88 MB / 0.8464 GB Notification: Performance of SimCode: time 1.763e-06/21.01, allocations: 0 / 6.339 GB, free: 21.88 MB / 0.8464 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)