Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.151/2.151, allocations: 248.6 MB / 255.9 MB, free: 1.195 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 183.5 kB / 315.1 MB, free: 9.598 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 0.5658 GB, free: 14.09 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001261, allocations: 97.89 kB / 0.67 GB, free: 52.07 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2623/0.2636, allocations: 112.4 MB / 0.7797 GB, free: 10.64 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.5175, allocations: 106.2 MB / 0.8835 GB, free: 300 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6047/1.122, allocations: 133.1 MB / 1.013 GB, free: 13.56 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.123, allocations: 88.78 kB / 1.014 GB, free: 13.48 MB / 0.659 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.01462/1.137, allocations: 2.663 MB / 1.016 GB, free: 10.85 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.137, allocations: 16 kB / 1.016 GB, free: 10.84 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.118e-05/1.137, allocations: 11.81 kB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.138, allocations: 179.1 kB / 1.016 GB, free: 10.61 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.138, allocations: 7.906 kB / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/1.138, allocations: 5.453 kB / 1.016 GB, free: 10.6 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002536/1.138, allocations: 59.98 kB / 1.016 GB, free: 10.54 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/1.138, allocations: 80.86 kB / 1.016 GB, free: 10.46 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.138, allocations: 0 / 1.016 GB, free: 10.46 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/1.138, allocations: 0 / 1.016 GB, free: 10.46 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/1.138, allocations: 4 kB / 1.016 GB, free: 10.45 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/1.139, allocations: 357 kB / 1.017 GB, free: 10.07 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/1.139, allocations: 78.59 kB / 1.017 GB, free: 9.98 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/1.14, allocations: 37.47 kB / 1.017 GB, free: 9.941 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/1.14, allocations: 0.5545 MB / 1.017 GB, free: 9.258 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.14, allocations: 42.48 kB / 1.017 GB, free: 9.211 MB / 0.659 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/1.14, allocations: 3.938 kB / 1.017 GB, free: 9.207 MB / 0.659 GB Notification: Performance of matching and sorting (n=9): time 0.0004097/1.141, allocations: 81.59 kB / 1.018 GB, free: 9.121 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.141, allocations: 59.41 kB / 1.018 GB, free: 9.051 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.141, allocations: 112.3 kB / 1.018 GB, free: 8.938 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/1.141, allocations: 25.7 kB / 1.018 GB, free: 8.906 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/1.141, allocations: 104.2 kB / 1.018 GB, free: 8.797 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/1.141, allocations: 27.55 kB / 1.018 GB, free: 8.77 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/1.141, allocations: 0 / 1.018 GB, free: 8.77 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.141, allocations: 325.4 kB / 1.018 GB, free: 8.445 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/1.141, allocations: 23.94 kB / 1.018 GB, free: 8.422 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/1.141, allocations: 20 kB / 1.018 GB, free: 8.402 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/1.141, allocations: 23.28 kB / 1.018 GB, free: 8.383 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.141, allocations: 7.906 kB / 1.018 GB, free: 8.375 MB / 0.659 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002836/1.142, allocations: 85.53 kB / 1.018 GB, free: 8.285 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.142, allocations: 11.98 kB / 1.018 GB, free: 8.273 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.142, allocations: 0 / 1.018 GB, free: 8.273 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.142, allocations: 0 / 1.018 GB, free: 8.273 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/1.142, allocations: 36.81 kB / 1.018 GB, free: 8.242 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.142, allocations: 0 / 1.018 GB, free: 8.242 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/1.142, allocations: 19.98 kB / 1.018 GB, free: 8.223 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/1.142, allocations: 0 / 1.018 GB, free: 8.223 MB / 0.659 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.0001074/1.143, allocations: 112.9 kB / 1.019 GB, free: 8.105 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.143, allocations: 7.906 kB / 1.019 GB, free: 8.098 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/1.143, allocations: 106 kB / 1.019 GB, free: 7.996 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.143, allocations: 0 / 1.019 GB, free: 7.996 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.143, allocations: 0 / 1.019 GB, free: 7.996 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.143, allocations: 4 kB / 1.019 GB, free: 7.992 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/1.143, allocations: 190.1 kB / 1.019 GB, free: 7.77 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.143, allocations: 0 / 1.019 GB, free: 7.77 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/1.144, allocations: 31.92 kB / 1.019 GB, free: 7.738 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.144, allocations: 4 kB / 1.019 GB, free: 7.734 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.144, allocations: 0 / 1.019 GB, free: 7.734 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/1.144, allocations: 7.984 kB / 1.019 GB, free: 7.727 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.144, allocations: 0 / 1.019 GB, free: 7.727 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003662/1.144, allocations: 179.4 kB / 1.019 GB, free: 7.535 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006144/1.145, allocations: 0.5569 MB / 1.02 GB, free: 6.961 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/1.145, allocations: 96.95 kB / 1.02 GB, free: 6.848 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/1.145, allocations: 3.984 kB / 1.02 GB, free: 6.844 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.145, allocations: 16.86 kB / 1.02 GB, free: 6.828 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/1.145, allocations: 7.984 kB / 1.02 GB, free: 6.82 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.145, allocations: 11.91 kB / 1.02 GB, free: 6.809 MB / 0.659 GB Notification: Performance of sort global known variables: time 9.335e-05/1.146, allocations: 98.61 kB / 1.02 GB, free: 6.715 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001245/1.147, allocations: 28 kB / 1.02 GB, free: 6.688 MB / 0.659 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.0002984/1.147, allocations: 110.5 kB / 1.02 GB, free: 6.574 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0002837/1.147, allocations: 59.94 kB / 1.02 GB, free: 6.516 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.147, allocations: 0 / 1.02 GB, free: 6.516 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.148, allocations: 28 kB / 1.02 GB, free: 6.488 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/1.148, allocations: 27.27 kB / 1.02 GB, free: 6.465 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/1.149, allocations: 131.8 kB / 1.02 GB, free: 6.305 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.149, allocations: 0.7192 MB / 1.021 GB, free: 5.559 MB / 0.659 GB Notification: Performance of SimCode: time 1.042e-06/1.149, allocations: 0 / 1.021 GB, free: 5.559 MB / 0.659 GB