Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_VectorFunctions",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 3.437/3.437, allocations: 248.6 MB / 255.9 MB, free: 372 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 174.3 kB / 315.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 102 kB / 0.67 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2574/0.2588, allocations: 112.4 MB / 0.7797 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.7632, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.9643, allocations: 131.5 MB / 1.012 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9646, allocations: 71.95 kB / 1.012 GB, free: 9.516 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.007788/0.9724, allocations: 1.779 MB / 1.014 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9725, allocations: 8 kB / 1.014 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.9725, allocations: 11.84 kB / 1.014 GB, free: 7.668 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.9728, allocations: 201 kB / 1.014 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9728, allocations: 4 kB / 1.014 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.9728, allocations: 4 kB / 1.014 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002293/0.9731, allocations: 59.98 kB / 1.014 GB, free: 7.367 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.9733, allocations: 88.03 kB / 1.014 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9733, allocations: 0 / 1.014 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.9733, allocations: 3.938 kB / 1.014 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.9734, allocations: 0 / 1.014 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.9742, allocations: 361 kB / 1.014 GB, free: 6.883 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.9743, allocations: 54.5 kB / 1.014 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.9744, allocations: 32.97 kB / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.9745, allocations: 4 kB / 1.014 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.9745, allocations: 34.56 kB / 1.015 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.9745, allocations: 0 / 1.015 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6): time 0.0003733/0.9749, allocations: 97.48 kB / 1.015 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.975, allocations: 59.39 kB / 1.015 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.9751, allocations: 113.2 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.9751, allocations: 25.7 kB / 1.015 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.9752, allocations: 96.22 kB / 1.015 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.996e-05/0.9753, allocations: 27.78 kB / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.9753, allocations: 0 / 1.015 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9754, allocations: 318.8 kB / 1.015 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.9755, allocations: 20 kB / 1.015 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.9756, allocations: 31.92 kB / 1.015 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.9757, allocations: 27.98 kB / 1.015 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9757, allocations: 4 kB / 1.015 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002739/0.976, allocations: 93.56 kB / 1.015 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.9761, allocations: 8.625 kB / 1.015 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9761, allocations: 0 / 1.015 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.9761, allocations: 0 / 1.015 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.9763, allocations: 19.98 kB / 1.015 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.9763, allocations: 0 / 1.015 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.9765, allocations: 19.89 kB / 1.015 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.9765, allocations: 8 kB / 1.015 GB, free: 5.734 MB / 0.6667 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 8.71e-05/0.9766, allocations: 107.6 kB / 1.016 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.9767, allocations: 7.844 kB / 1.016 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.9771, allocations: 118.1 kB / 1.016 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.9771, allocations: 3.938 kB / 1.016 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.9771, allocations: 4 kB / 1.016 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9772, allocations: 0 / 1.016 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.9774, allocations: 182 kB / 1.016 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.9774, allocations: 0 / 1.016 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.9776, allocations: 24.3 kB / 1.016 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.9777, allocations: 3.984 kB / 1.016 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.9777, allocations: 7.938 kB / 1.016 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9777, allocations: 0 / 1.016 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9777, allocations: 4 kB / 1.016 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003175/0.978, allocations: 199.3 kB / 1.016 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004234/0.9785, allocations: 0.5623 MB / 1.017 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.9785, allocations: 85.02 kB / 1.017 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.9786, allocations: 0 / 1.017 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.9788, allocations: 19.89 kB / 1.017 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.9788, allocations: 0 / 1.017 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.9789, allocations: 7.984 kB / 1.017 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.436e-05/0.979, allocations: 98.09 kB / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001129/0.9801, allocations: 19.98 kB / 1.017 GB, free: 4.199 MB / 0.6667 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.0001628/0.9803, allocations: 107.2 kB / 1.017 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.9805, allocations: 67.97 kB / 1.017 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9805, allocations: 4 kB / 1.017 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.9806, allocations: 39.98 kB / 1.017 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.9808, allocations: 6.312 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.9814, allocations: 143.3 kB / 1.017 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.9817, allocations: 0.7192 MB / 1.018 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of SimCode: time 8.02e-07/0.9818, allocations: 4 kB / 1.018 GB, free: 3.059 MB / 0.6667 GB