Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.122/2.122, allocations: 248.6 MB / 255.9 MB, free: 7.098 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.001682/0.001682, allocations: 190.8 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.871/1.871, allocations: 205.1 MB / 0.5658 GB, free: 280 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.001327/0.001326, allocations: 94.89 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4687/0.4701, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.6986, allocations: 106.3 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6971/1.396, allocations: 133.7 MB / 1.014 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.396, allocations: 89.3 kB / 1.014 GB, free: 6.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03366/1.43, allocations: 5.294 MB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.43, allocations: 8 kB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.43, allocations: 11.47 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/1.43, allocations: 195.8 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/1.43, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/1.43, allocations: 4 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001414/1.431, allocations: 30.19 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.431, allocations: 49.42 kB / 1.02 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/1.431, allocations: 0 / 1.02 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/1.431, allocations: 3.938 kB / 1.02 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.431, allocations: 0 / 1.02 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/1.431, allocations: 278 kB / 1.02 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/1.432, allocations: 44.81 kB / 1.02 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/1.432, allocations: 20.61 kB / 1.02 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/1.432, allocations: 3.938 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.432, allocations: 30.56 kB / 1.02 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/1.432, allocations: 4 kB / 1.02 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003189/1.432, allocations: 67.47 kB / 1.02 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.432, allocations: 55.31 kB / 1.02 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/1.432, allocations: 114.7 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/1.432, allocations: 25.7 kB / 1.02 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/1.432, allocations: 91 kB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/1.432, allocations: 14.94 kB / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/1.432, allocations: 0 / 1.02 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.433, allocations: 326 kB / 1.021 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/1.433, allocations: 7.25 kB / 1.021 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/1.433, allocations: 15.88 kB / 1.021 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/1.433, allocations: 18.56 kB / 1.021 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.433, allocations: 3.906 kB / 1.021 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002437/1.433, allocations: 71.58 kB / 1.021 GB, free: 468 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.433, allocations: 4 kB / 1.021 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.433, allocations: 0 / 1.021 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.433, allocations: 4 kB / 1.021 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/1.433, allocations: 19.98 kB / 1.021 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.433, allocations: 0 / 1.021 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/1.434, allocations: 4 kB / 1.021 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/1.434, allocations: 4 kB / 1.021 GB, free: 432 kB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.0001/1.434, allocations: 108.3 kB / 1.021 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.434, allocations: 7.906 kB / 1.021 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/1.434, allocations: 87.41 kB / 1.021 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.434, allocations: 0 / 1.021 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/1.434, allocations: 0 / 1.021 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.434, allocations: 0 / 1.021 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/1.435, allocations: 160.3 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.435, allocations: 3.906 kB / 1.021 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.435, allocations: 19.92 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/1.435, allocations: 4 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/1.435, allocations: 4 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/1.435, allocations: 0 / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.435, allocations: 0 / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003046/1.435, allocations: 165.4 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004174/1.436, allocations: 0.5421 MB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/1.436, allocations: 92.95 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.436, allocations: 0 / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/1.436, allocations: 4 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/1.436, allocations: 11.97 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.436, allocations: 3.938 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.078e-05/1.436, allocations: 99.33 kB / 1.022 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001231/1.437, allocations: 23.91 kB / 1.022 GB, free: 15.06 MB / 0.6511 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 (6): * Single equations (assignments): 6 * 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.0002871/1.438, allocations: 115.2 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001991/1.438, allocations: 38.81 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.438, allocations: 0 / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/1.438, allocations: 19 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/1.438, allocations: 15.11 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/1.439, allocations: 102.9 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/1.439, allocations: 0.7144 MB / 1.023 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/1.439, allocations: 0 / 1.023 GB, free: 14.03 MB / 0.6511 GB