Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.132/2.132, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 189.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 95.25 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4693/0.4706, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.6823, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.654/1.336, allocations: 134.2 MB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.337, allocations: 75.83 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.04261/1.379, allocations: 7.792 MB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.379, allocations: 12 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/1.38, allocations: 31.62 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/1.381, allocations: 294.6 kB / 1.023 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.381, allocations: 11.89 kB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/1.381, allocations: 8 kB / 1.023 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003746/1.381, allocations: 92.86 kB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/1.382, allocations: 164.6 kB / 1.023 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.382, allocations: 8 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/1.382, allocations: 3.938 kB / 1.023 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.382, allocations: 7.938 kB / 1.023 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/1.384, allocations: 0.917 MB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/1.384, allocations: 172.5 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/1.385, allocations: 52.94 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/1.385, allocations: 4.312 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.385, allocations: 38.25 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/1.385, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0007183/1.385, allocations: 146.3 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/1.386, allocations: 83.67 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/1.386, allocations: 220.1 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.386, allocations: 25.7 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/1.386, allocations: 130.7 kB / 1.025 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/1.386, allocations: 58.2 kB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/1.386, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.386, allocations: 333.1 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.387, allocations: 45.05 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/1.387, allocations: 83.19 kB / 1.025 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/1.387, allocations: 56.8 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.387, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000682/1.388, allocations: 177.4 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.388, allocations: 8 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.388, allocations: 3.906 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.388, allocations: 4.156 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/1.389, allocations: 87.31 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/1.389, allocations: 0 / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/1.389, allocations: 51.81 kB / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/1.389, allocations: 4 kB / 1.025 GB, free: 12.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001249/1.389, allocations: 108.9 kB / 1.026 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/1.389, allocations: 31.61 kB / 1.026 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007588/1.39, allocations: 183.4 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.39, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.39, allocations: 0 / 1.026 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.39, allocations: 7.984 kB / 1.026 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/1.391, allocations: 252.5 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/1.391, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/1.392, allocations: 75.64 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.392, allocations: 3.938 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.392, allocations: 11.91 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.392, allocations: 0 / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.392, allocations: 3.984 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007351/1.392, allocations: 349.8 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008193/1.393, allocations: 0.7241 MB / 1.027 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.393, allocations: 96.83 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/1.393, allocations: 0 / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/1.394, allocations: 47.88 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/1.394, allocations: 15.22 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/1.394, allocations: 4 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002609/1.395, allocations: 182.2 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001344/1.396, allocations: 56.09 kB / 1.027 GB, free: 9.992 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002803/1.396, allocations: 115.1 kB / 1.028 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004639/1.397, allocations: 123.1 kB / 1.028 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.397, allocations: 0 / 1.028 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/1.397, allocations: 71.19 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/1.398, allocations: 57.38 kB / 1.028 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.399, allocations: 306 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.399, allocations: 0.7824 MB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.399, allocations: 4 kB / 1.029 GB, free: 8.582 MB / 0.6511 GB