Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.125/2.125, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001705/0.001704, allocations: 189.2 kB / 315.1 MB, free: 4.277 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.981/1.981, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001309/0.001308, allocations: 90.52 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4941/0.4954, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.7151, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7204/1.436, allocations: 131.4 MB / 1.012 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/1.436, allocations: 76.48 kB / 1.012 GB, free: 8.691 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.004402/1.441, allocations: 0.8619 MB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.441, allocations: 8 kB / 1.013 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/1.441, allocations: 3.906 kB / 1.013 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/1.441, allocations: 159.1 kB / 1.013 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/1.441, allocations: 4.75 kB / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/1.441, allocations: 0 / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.307e-05/1.441, allocations: 11.89 kB / 1.013 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/1.441, allocations: 25.7 kB / 1.013 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.441, allocations: 0 / 1.013 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.441, allocations: 4 kB / 1.013 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.441, allocations: 7.938 kB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/1.441, allocations: 129.3 kB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/1.441, allocations: 29.73 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/1.441, allocations: 4.859 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.443, allocations: 0.6013 MB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.443, allocations: 34.55 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.696e-06/1.443, allocations: 0 / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002281/1.443, allocations: 40.8 kB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/1.443, allocations: 51.41 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.902e-05/1.443, allocations: 92.94 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.443, allocations: 28.33 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/1.443, allocations: 87.86 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/1.443, allocations: 15.83 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/1.443, allocations: 0 / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.443, allocations: 310.8 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/1.443, allocations: 0 / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/1.443, allocations: 4 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/1.443, allocations: 3.312 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.443, allocations: 0 / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001179/1.444, allocations: 45.75 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.444, allocations: 4 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.444, allocations: 0 / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.444, allocations: 3.906 kB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/1.444, allocations: 4 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.444, allocations: 0 / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/1.444, allocations: 3.062 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/1.444, allocations: 0 / 1.014 GB, free: 5.914 MB / 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 (2): * Single equations (assignments): 2 * 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 9.12e-05/1.444, allocations: 108.9 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/1.444, allocations: 7.922 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.444, allocations: 52.14 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.444, allocations: 0 / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.444, allocations: 0 / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.444, allocations: 0 / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.444, allocations: 133.5 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.444, allocations: 3.938 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/1.444, allocations: 4 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.444, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.444, allocations: 3.906 kB / 1.015 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.444, allocations: 4.031 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.444, allocations: 4 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001312/1.445, allocations: 64.81 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002702/1.445, allocations: 440.7 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/1.445, allocations: 85.17 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/1.445, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/1.445, allocations: 7.844 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/1.445, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/1.445, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.598e-05/1.445, allocations: 79.28 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001321/1.447, allocations: 19.98 kB / 1.015 GB, free: 4.824 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0002967/1.447, allocations: 117.9 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001108/1.447, allocations: 15.94 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.447, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/1.447, allocations: 4 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.447, allocations: 12.12 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/1.448, allocations: 55.91 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.448, allocations: 0.688 MB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/1.448, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB