Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.204/2.204, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.002016/0.002016, allocations: 185.2 kB / 487 MB, free: 5.359 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.458/1.458, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.001044/0.001044, allocations: 82.83 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6086/0.6097, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.8812, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/5.318, allocations: 2.185 GB / 3.39 GB, free: 115.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/5.318, allocations: 83.95 kB / 3.391 GB, free: 115.8 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 2.982/8.3, allocations: 0.9557 GB / 4.346 GB, free: 29.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/8.3, allocations: 8 kB / 4.346 GB, free: 29.84 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/8.303, allocations: 0.5909 MB / 4.347 GB, free: 29.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/8.307, allocations: 1.379 MB / 4.348 GB, free: 27.81 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006099/8.307, allocations: 189.8 kB / 4.348 GB, free: 27.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/8.308, allocations: 71.91 kB / 4.348 GB, free: 27.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/8.309, allocations: 0.9685 MB / 4.349 GB, free: 26.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/8.311, allocations: 1.09 MB / 4.35 GB, free: 25.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/8.311, allocations: 3.938 kB / 4.35 GB, free: 25.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/8.311, allocations: 0 / 4.35 GB, free: 25.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/8.311, allocations: 45.98 kB / 4.35 GB, free: 25.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008744/8.32, allocations: 5.267 MB / 4.356 GB, free: 19.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/8.321, allocations: 0.7865 MB / 4.356 GB, free: 19.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/8.322, allocations: 421.2 kB / 4.357 GB, free: 18.68 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/8.323, allocations: 0.8461 MB / 4.358 GB, free: 17.66 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/8.324, allocations: 0.4886 MB / 4.358 GB, free: 17.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 5.28e-06/8.324, allocations: 0 / 4.358 GB, free: 17.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004165/8.328, allocations: 1.025 MB / 4.359 GB, free: 16.13 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/8.328, allocations: 111.6 kB / 4.359 GB, free: 16 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/8.33, allocations: 0.8956 MB / 4.36 GB, free: 15.09 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/8.331, allocations: 29.7 kB / 4.36 GB, free: 15.06 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/8.331, allocations: 457.1 kB / 4.361 GB, free: 14.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/8.331, allocations: 271.9 kB / 4.361 GB, free: 14.33 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/8.331, allocations: 0 / 4.361 GB, free: 14.33 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.332, allocations: 349.8 kB / 4.361 GB, free: 13.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009834/8.333, allocations: 394.5 kB / 4.362 GB, free: 13.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/8.334, allocations: 0.6872 MB / 4.362 GB, free: 12.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/8.336, allocations: 0.5126 MB / 4.363 GB, free: 12.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/8.336, allocations: 0 / 4.363 GB, free: 12.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003473/8.339, allocations: 1.228 MB / 4.364 GB, free: 11.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003952/8.34, allocations: 2.026 MB / 4.366 GB, free: 8.879 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/8.34, allocations: 4 kB / 4.366 GB, free: 8.875 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/8.34, allocations: 12 kB / 4.366 GB, free: 8.863 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/8.342, allocations: 363.5 kB / 4.366 GB, free: 8.508 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006569/8.342, allocations: 1.219 MB / 4.367 GB, free: 7.242 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/8.344, allocations: 203 kB / 4.368 GB, free: 7.043 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/8.345, allocations: 59.97 kB / 4.368 GB, free: 6.984 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/8.345, allocations: 8 kB / 4.368 GB, free: 6.977 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/8.347, allocations: 1.045 MB / 4.369 GB, free: 5.934 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/8.347, allocations: 8.031 kB / 4.369 GB, free: 5.926 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/8.347, allocations: 12 kB / 4.369 GB, free: 5.914 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/8.348, allocations: 347.5 kB / 4.369 GB, free: 5.574 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/8.348, allocations: 12 kB / 4.369 GB, free: 5.562 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/8.35, allocations: 187.1 kB / 4.369 GB, free: 5.379 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/8.35, allocations: 59.95 kB / 4.369 GB, free: 5.32 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * 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.0003542/8.351, allocations: 144.5 kB / 4.369 GB, free: 5.172 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/8.351, allocations: 134.3 kB / 4.37 GB, free: 5.039 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/8.353, allocations: 1.157 MB / 4.371 GB, free: 3.871 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/8.353, allocations: 12 kB / 4.371 GB, free: 3.859 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/8.353, allocations: 0 / 4.371 GB, free: 3.859 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/8.353, allocations: 11.91 kB / 4.371 GB, free: 3.848 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/8.358, allocations: 2.565 MB / 4.373 GB, free: 1.184 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/8.358, allocations: 8.094 kB / 4.373 GB, free: 1.176 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/8.359, allocations: 259.6 kB / 4.373 GB, free: 0.9219 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/8.359, allocations: 11.91 kB / 4.373 GB, free: 0.9102 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/8.359, allocations: 19.97 kB / 4.374 GB, free: 0.8906 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/8.36, allocations: 1.203 MB / 4.375 GB, free: 15.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/8.36, allocations: 4 kB / 4.375 GB, free: 15.63 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003223/8.363, allocations: 1.989 MB / 4.377 GB, free: 13.46 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004547/8.367, allocations: 3.065 MB / 4.38 GB, free: 10.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/8.368, allocations: 354.9 kB / 4.38 GB, free: 9.848 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/8.368, allocations: 11.98 kB / 4.38 GB, free: 9.836 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/8.37, allocations: 143.8 kB / 4.38 GB, free: 9.695 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/8.37, allocations: 68.56 kB / 4.38 GB, free: 9.625 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/8.37, allocations: 35.97 kB / 4.38 GB, free: 9.59 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001074/8.371, allocations: 0.6744 MB / 4.381 GB, free: 8.914 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005611/8.377, allocations: 1.487 MB / 4.382 GB, free: 7.426 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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.003893/8.381, allocations: 2.295 MB / 4.385 GB, free: 5.047 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003795/8.385, allocations: 1.681 MB / 4.386 GB, free: 3.355 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/8.385, allocations: 384 / 4.386 GB, free: 3.355 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/8.386, allocations: 0.5333 MB / 4.387 GB, free: 2.824 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/8.389, allocations: 0.4973 MB / 4.387 GB, free: 2.328 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/8.394, allocations: 2.087 MB / 4.389 GB, free: 152 kB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5707/8.965, allocations: 1.409 MB / 4.391 GB, free: 329.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/8.965, allocations: 0 / 4.391 GB, free: 329.7 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)