Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.407/2.407, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001727/0.001727, allocations: 180 kB / 315.1 MB, free: 4.301 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.96/1.96, allocations: 205.1 MB / 0.5658 GB, free: 448 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.001306/0.001305, allocations: 87.33 kB / 0.67 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4714/0.4727, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.708, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7192/1.427, allocations: 131.8 MB / 1.012 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/1.428, allocations: 76.45 kB / 1.012 GB, free: 8.402 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01056/1.438, allocations: 1.813 MB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.369e-05/1.438, allocations: 12 kB / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/1.439, allocations: 0 / 1.014 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/1.439, allocations: 171.1 kB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.439, allocations: 0 / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/1.439, allocations: 0 / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001473/1.439, allocations: 15.92 kB / 1.014 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/1.439, allocations: 33.69 kB / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.439, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/1.439, allocations: 0 / 1.014 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/1.439, allocations: 7.891 kB / 1.014 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/1.44, allocations: 141.7 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/1.44, allocations: 30.48 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/1.44, allocations: 8.922 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/1.443, allocations: 1.167 MB / 1.016 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/1.443, allocations: 44.55 kB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.859e-06/1.443, allocations: 0 / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0004595/1.443, allocations: 45.17 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/1.444, allocations: 51.41 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/1.444, allocations: 104.1 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/1.444, allocations: 29.64 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/1.444, allocations: 84.14 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/1.444, allocations: 3.906 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.444, allocations: 0 / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.444, allocations: 318.5 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/1.444, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/1.444, allocations: 7.984 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.444, allocations: 4 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.444, allocations: 0 / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003006/1.445, allocations: 53.28 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.445, allocations: 8 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.445, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.445, allocations: 3.938 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/1.445, allocations: 8 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.445, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/1.445, allocations: 3.938 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.445, allocations: 0 / 1.016 GB, free: 4.086 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 (3): * Single equations (assignments): 3 * 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.0001533/1.445, allocations: 111.5 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/1.445, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/1.446, allocations: 64.98 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/1.446, allocations: 3.906 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.446, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.446, allocations: 7.938 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/1.446, allocations: 130.2 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.446, allocations: 4 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/1.446, allocations: 4 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.446, allocations: 240 / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.446, allocations: 4.562 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.446, allocations: 0 / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.446, allocations: 0 / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002958/1.447, allocations: 77.39 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004003/1.447, allocations: 457.1 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.447, allocations: 89 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/1.447, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/1.447, allocations: 0 / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/1.447, allocations: 7.984 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.448, allocations: 7.875 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.865e-05/1.448, allocations: 79.28 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002253/1.45, allocations: 31.94 kB / 1.017 GB, free: 2.941 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 (3): * Single equations (assignments): 3 * 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.0004179/1.45, allocations: 131.1 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.451, allocations: 19.73 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.451, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/1.451, allocations: 11.88 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/1.451, allocations: 10.62 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/1.451, allocations: 67.59 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/1.452, allocations: 0.6954 MB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of SimCode: time 1.143e-06/1.452, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB