Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",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 8.1.4-maint.8.1.x/package.mo): time 1.548/1.548, allocations: 289.8 MB / 297 MB, free: 6.621 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001343, allocations: 177.3 kB / 366.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 0.6256 GB, free: 5.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 96.64 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3014/0.3026, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/1.029, allocations: 116.3 MB / 0.9727 GB, free: 68.7 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/1.226, allocations: 140.7 MB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003798/1.227, allocations: 91.92 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.01045/1.237, allocations: 3.09 MB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.237, allocations: 8 kB / 1.113 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/1.237, allocations: 15.81 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/1.238, allocations: 183 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.238, allocations: 4 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/1.238, allocations: 8 kB / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001643/1.238, allocations: 61.48 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/1.238, allocations: 81.67 kB / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.238, allocations: 0 / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.238, allocations: 3.906 kB / 1.114 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.238, allocations: 0 / 1.114 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.239, allocations: 364.8 kB / 1.114 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/1.239, allocations: 78.59 kB / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/1.239, allocations: 36.86 kB / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/1.239, allocations: 0.5623 MB / 1.115 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.239, allocations: 30.56 kB / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.239, allocations: 0 / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002713/1.24, allocations: 90.47 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/1.24, allocations: 51.41 kB / 1.115 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/1.24, allocations: 111.7 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.24, allocations: 29.69 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/1.24, allocations: 112.1 kB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/1.24, allocations: 27.56 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.24, allocations: 1.219 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.24, allocations: 322.8 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/1.24, allocations: 16 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/1.24, allocations: 23.94 kB / 1.115 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/1.24, allocations: 24.73 kB / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.24, allocations: 0 / 1.115 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001568/1.24, allocations: 82.25 kB / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.24, allocations: 4 kB / 1.115 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.24, allocations: 4 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.24, allocations: 3.938 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.241, allocations: 31.98 kB / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.241, allocations: 4 kB / 1.115 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/1.241, allocations: 29.66 kB / 1.115 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.241, allocations: 4 kB / 1.115 GB, free: 1.953 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/1.241, allocations: 101 kB / 1.116 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/1.241, allocations: 7.906 kB / 1.116 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/1.241, allocations: 108.2 kB / 1.116 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.241, allocations: 4 kB / 1.116 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.241, allocations: 0 / 1.116 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/1.241, allocations: 3.984 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/1.241, allocations: 182.1 kB / 1.116 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.241, allocations: 0 / 1.116 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/1.242, allocations: 31.98 kB / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/1.242, allocations: 7.891 kB / 1.116 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.242, allocations: 0 / 1.116 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.242, allocations: 0.75 kB / 1.116 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.242, allocations: 7.938 kB / 1.116 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002172/1.242, allocations: 184.1 kB / 1.116 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003242/1.242, allocations: 0.5588 MB / 1.117 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/1.242, allocations: 93 kB / 1.117 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.242, allocations: 1.125 kB / 1.117 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.243, allocations: 19.98 kB / 1.117 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/1.243, allocations: 7.984 kB / 1.117 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.243, allocations: 0 / 1.117 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.494e-05/1.243, allocations: 99.22 kB / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008552/1.244, allocations: 27.84 kB / 1.117 GB, free: 436 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002048/1.244, allocations: 119.2 kB / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001537/1.244, allocations: 52 kB / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.244, allocations: 1.312 kB / 1.117 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/1.244, allocations: 35.94 kB / 1.117 GB, free: 220 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.244, allocations: 13.2 kB / 1.117 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/1.245, allocations: 139.8 kB / 1.117 GB, free: 36 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/1.245, allocations: 0.7153 MB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.245, allocations: 0 / 1.118 GB, free: 15.29 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)