Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Validation_Boundary",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 1.995/1.995, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001697/0.001696, allocations: 189.2 kB / 315.1 MB, free: 4.305 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.818/1.818, allocations: 205.1 MB / 0.5658 GB, free: 424 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.00132/0.00132, allocations: 85.14 kB / 0.67 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4699/0.4713, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.6862, allocations: 106.2 MB / 0.8835 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.791/8.477, allocations: 3.207 GB / 4.09 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/8.477, allocations: 83.95 kB / 4.09 GB, free: 171.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 8.638/17.11, allocations: 1.742 GB / 5.832 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/17.12, allocations: 9.25 kB / 5.832 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007183/17.12, allocations: 460.3 kB / 5.833 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006832/17.13, allocations: 1.317 MB / 5.834 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/17.13, allocations: 38.31 kB / 5.834 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/17.13, allocations: 84.86 kB / 5.834 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004446/17.13, allocations: 1.089 MB / 5.835 GB, free: 109.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/17.14, allocations: 1.472 MB / 5.837 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/17.14, allocations: 4.969 kB / 5.837 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/17.14, allocations: 3.469 kB / 5.837 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.089e-05/17.14, allocations: 57.58 kB / 5.837 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/17.15, allocations: 6.527 MB / 5.843 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/17.15, allocations: 0.6223 MB / 5.844 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/17.15, allocations: 0.5954 MB / 5.844 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/17.16, allocations: 2.44 MB / 5.847 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/17.16, allocations: 40.5 kB / 5.847 GB, free: 103 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/17.16, allocations: 7.812 kB / 5.847 GB, free: 103 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.00551/17.16, allocations: 1.075 MB / 5.848 GB, free: 102.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/17.16, allocations: 221 kB / 5.848 GB, free: 102.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/17.16, allocations: 0.7831 MB / 5.849 GB, free: 102.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002763/17.16, allocations: 29.52 kB / 5.849 GB, free: 102.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/17.16, allocations: 0.5045 MB / 5.849 GB, free: 102.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/17.16, allocations: 230.7 kB / 5.85 GB, free: 102 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/17.16, allocations: 0 / 5.85 GB, free: 102 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/17.16, allocations: 330.9 kB / 5.85 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006689/17.17, allocations: 301.2 kB / 5.85 GB, free: 101.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/17.17, allocations: 0.5766 MB / 5.851 GB, free: 101.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/17.17, allocations: 411 kB / 5.851 GB, free: 101.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/17.17, allocations: 3.188 kB / 5.851 GB, free: 101.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002841/17.17, allocations: 0.8931 MB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/17.17, allocations: 11.22 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/17.17, allocations: 3.688 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/17.17, allocations: 9.938 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/17.17, allocations: 122.7 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/17.17, allocations: 7.219 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/17.17, allocations: 49.44 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/17.17, allocations: 64.09 kB / 5.852 GB, free: 101.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0002499/17.17, allocations: 127.4 kB / 5.852 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/17.17, allocations: 128.1 kB / 5.853 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/17.18, allocations: 1.043 MB / 5.854 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/17.18, allocations: 6.812 kB / 5.854 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/17.18, allocations: 3.562 kB / 5.854 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/17.18, allocations: 9.562 kB / 5.854 GB, free: 101 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/17.2, allocations: 8.364 MB / 5.862 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.308e-05/17.2, allocations: 14.94 kB / 5.862 GB, free: 98.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/17.2, allocations: 149.4 kB / 5.862 GB, free: 98.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/17.2, allocations: 18.88 kB / 5.862 GB, free: 98.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/17.2, allocations: 30.12 kB / 5.862 GB, free: 98.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-05/17.2, allocations: 33.72 kB / 5.862 GB, free: 98.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-05/17.2, allocations: 21.53 kB / 5.862 GB, free: 98.74 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004222/17.21, allocations: 2.514 MB / 5.864 GB, free: 96.78 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004373/17.21, allocations: 3.02 MB / 5.867 GB, free: 94.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/17.21, allocations: 315.6 kB / 5.868 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004421/17.21, allocations: 22.28 kB / 5.868 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/17.21, allocations: 37.03 kB / 5.868 GB, free: 94.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/17.21, allocations: 91.05 kB / 5.868 GB, free: 94.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/17.21, allocations: 50.28 kB / 5.868 GB, free: 94.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001609/17.21, allocations: 0.6089 MB / 5.868 GB, free: 94.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007304/17.22, allocations: 1.133 MB / 5.87 GB, free: 94 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01249/17.23, allocations: 3.433 MB / 5.873 GB, free: 93.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002697/17.24, allocations: 0.7943 MB / 5.874 GB, free: 93.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.92e-05/17.24, allocations: 3.844 kB / 5.874 GB, free: 93.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/17.24, allocations: 470.2 kB / 5.874 GB, free: 93.07 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009264/17.25, allocations: 0.7229 MB / 5.875 GB, free: 93.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/17.26, allocations: 2.41 MB / 5.877 GB, free: 91.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/17.26, allocations: 1.55 MB / 5.879 GB, free: 91.22 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/17.26, allocations: 0 / 5.879 GB, free: 91.22 MB / 0.948 GB