Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.364/1.364, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009504/0.0009504, allocations: 185.3 kB / 361.1 MB, free: 7.117 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.107/1.107, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008412/0.0008412, allocations: 89.94 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2145/0.2154, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.7569, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.9128, allocations: 139.7 MB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.9131, allocations: 88.73 kB / 1.1 GB, free: 192 kB / 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.009346/0.9225, allocations: 3.103 MB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9226, allocations: 8.5 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.9226, allocations: 11.81 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.9228, allocations: 187 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.9228, allocations: 8 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.9228, allocations: 4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001654/0.923, allocations: 56 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.9231, allocations: 82.42 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.9232, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.9232, allocations: 3.906 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9232, allocations: 4 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.9238, allocations: 364.8 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.924, allocations: 78.64 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.9241, allocations: 35.02 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.9245, allocations: 0.5622 MB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.9245, allocations: 32.75 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.9245, allocations: 3.938 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002552/0.9248, allocations: 85.59 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.9248, allocations: 51.41 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.9249, allocations: 111.7 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.9249, allocations: 33.7 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.925, allocations: 104.2 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.925, allocations: 31.55 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/0.925, allocations: 3.938 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.9251, allocations: 310.8 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.9252, allocations: 23.94 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.9252, allocations: 21.97 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.9253, allocations: 23.98 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9253, allocations: 0 / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001536/0.9255, allocations: 89.53 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.9255, allocations: 8 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9255, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.9255, allocations: 3.984 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.9257, allocations: 31.97 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9257, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.9259, allocations: 25.48 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.9259, allocations: 4 kB / 1.106 GB, free: 10.48 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 0.0001122/0.926, allocations: 101 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.926, allocations: 11.91 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.9263, allocations: 105.9 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9263, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9263, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9263, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.9265, allocations: 178.1 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9265, allocations: 0 / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.9266, allocations: 43.91 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.9267, allocations: 6.438 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9267, allocations: 1.625 kB / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9267, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9267, allocations: 0 / 1.106 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002/0.9269, allocations: 187.4 kB / 1.106 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000273/0.9272, allocations: 0.5566 MB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.9272, allocations: 89 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.9273, allocations: 0 / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.9274, allocations: 23.98 kB / 1.107 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.9275, allocations: 7.984 kB / 1.107 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.9275, allocations: 4 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.781e-05/0.9275, allocations: 96.52 kB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007919/0.9283, allocations: 35.84 kB / 1.107 GB, free: 8.945 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.00021/0.9286, allocations: 119 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.9287, allocations: 59.92 kB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9287, allocations: 0 / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.9288, allocations: 32 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.929, allocations: 18.23 kB / 1.107 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.9295, allocations: 131.8 kB / 1.107 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.9298, allocations: 0.7239 MB / 1.108 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/0.9298, allocations: 0 / 1.108 GB, free: 7.805 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryWetSelector.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)