Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.324/2.324, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.002547/0.002547, allocations: 173.3 kB / 360.3 MB, free: 7.531 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.868/1.868, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001319/0.001318, allocations: 96.31 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3019/0.3033, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.974, allocations: 115.3 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/1.203, allocations: 139.4 MB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.204, allocations: 88.97 kB / 1.099 GB, free: 1.387 MB / 0.698 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.01787/1.222, allocations: 2.658 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.222, allocations: 15.09 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/1.222, allocations: 15.81 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/1.222, allocations: 187 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/1.222, allocations: 8 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/1.222, allocations: 4 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002519/1.222, allocations: 59.98 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/1.223, allocations: 75.38 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.223, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/1.223, allocations: 3.906 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/1.223, allocations: 4 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/1.223, allocations: 364.8 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/1.224, allocations: 75.44 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.224, allocations: 38.05 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/1.225, allocations: 0.5584 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.225, allocations: 40.52 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/1.225, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003767/1.225, allocations: 81.72 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.225, allocations: 55.41 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.225, allocations: 111.9 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.225, allocations: 25.7 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/1.225, allocations: 112.2 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/1.225, allocations: 27.55 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/1.225, allocations: 0 / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.226, allocations: 325.4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/1.226, allocations: 20 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/1.226, allocations: 24.59 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/1.226, allocations: 18.16 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.226, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002592/1.226, allocations: 81.59 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.226, allocations: 15.98 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-06/1.226, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.226, allocations: 0.6562 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/1.227, allocations: 35.86 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.227, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/1.227, allocations: 27.89 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/1.227, allocations: 3.984 kB / 1.104 GB, free: 12.1 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 9.068e-05/1.227, allocations: 104.8 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/1.227, allocations: 11.91 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/1.227, allocations: 107.1 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.227, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.227, allocations: 0.5625 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.227, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/1.228, allocations: 178.2 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.228, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/1.228, allocations: 35.98 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/1.228, allocations: 7.906 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.228, allocations: 0 / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.228, allocations: 6.719 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.228, allocations: 1.75 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003014/1.228, allocations: 183.4 kB / 1.104 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004247/1.229, allocations: 0.5588 MB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/1.229, allocations: 92.95 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/1.229, allocations: 3.984 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/1.229, allocations: 19.98 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/1.229, allocations: 7.984 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.229, allocations: 4 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.036e-05/1.229, allocations: 91.28 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001168/1.231, allocations: 31.91 kB / 1.105 GB, free: 10.57 MB / 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.0002307/1.231, allocations: 116.4 kB / 1.105 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002344/1.231, allocations: 52 kB / 1.105 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.231, allocations: 0 / 1.105 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/1.231, allocations: 35.94 kB / 1.105 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/1.232, allocations: 18.42 kB / 1.105 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/1.232, allocations: 135.9 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/1.233, allocations: 0.7269 MB / 1.106 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.233, allocations: 0 / 1.106 GB, free: 9.43 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)