Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.899/3.899, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5843/4.484, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/4.737, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2469/4.984, allocations: 123.5 MB / 0.7488 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/4.985, allocations: 83.58 kB / 0.7489 GB, free: 14.07 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.0037/4.988, allocations: 0.8456 MB / 0.7498 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/4.988, allocations: 12 kB / 0.7498 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/4.989, allocations: 0 / 0.7498 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/4.989, allocations: 167.1 kB / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/4.989, allocations: 0 / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/4.989, allocations: 7.906 kB / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.844e-05/4.989, allocations: 0 / 0.7499 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.385e-05/4.989, allocations: 37.64 kB / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/4.989, allocations: 3.984 kB / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/4.989, allocations: 0 / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/4.989, allocations: 0 / 0.75 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/4.989, allocations: 134.2 kB / 0.7501 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/4.989, allocations: 22.61 kB / 0.7501 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/4.989, allocations: 8.922 kB / 0.7501 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009739/4.99, allocations: 0.6052 MB / 0.7507 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/4.99, allocations: 38.47 kB / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/4.99, allocations: 0 / 0.7508 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002169/4.991, allocations: 41.64 kB / 0.7508 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/4.991, allocations: 55.44 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/4.991, allocations: 92.98 kB / 0.7509 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/4.991, allocations: 25.7 kB / 0.751 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/4.991, allocations: 80.14 kB / 0.751 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/4.991, allocations: 7.906 kB / 0.751 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/4.991, allocations: 0 / 0.751 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001229/4.991, allocations: 314.8 kB / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/4.991, allocations: 0 / 0.7513 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/4.991, allocations: 4 kB / 0.7514 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/4.991, allocations: 8 kB / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/4.991, allocations: 0 / 0.7514 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001425/4.991, allocations: 45.59 kB / 0.7514 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/4.991, allocations: 8 kB / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/4.991, allocations: 0 / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/4.991, allocations: 0 / 0.7514 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/4.991, allocations: 11.88 kB / 0.7514 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/4.992, allocations: 0 / 0.7514 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/4.992, allocations: 3.938 kB / 0.7514 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/4.992, allocations: 4.031 kB / 0.7514 GB, free: 11.18 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 0.0001731/4.992, allocations: 101 kB / 0.7515 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/4.992, allocations: 7.906 kB / 0.7515 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/4.992, allocations: 45 kB / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/4.992, allocations: 0 / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/4.992, allocations: 0 / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/4.992, allocations: 0 / 0.7516 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/4.993, allocations: 130.2 kB / 0.7517 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/4.993, allocations: 0 / 0.7517 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/4.993, allocations: 8.031 kB / 0.7517 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/4.993, allocations: 3.906 kB / 0.7517 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/4.993, allocations: 0 / 0.7517 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/4.993, allocations: 0 / 0.7517 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/4.993, allocations: 3.938 kB / 0.7517 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003161/4.993, allocations: 65.12 kB / 0.7518 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003886/4.994, allocations: 445.5 kB / 0.7522 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/4.994, allocations: 77.11 kB / 0.7523 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/4.994, allocations: 7.906 kB / 0.7523 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/4.994, allocations: 0 / 0.7523 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/4.994, allocations: 0 / 0.7523 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/4.994, allocations: 0 / 0.7523 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.297e-05/4.994, allocations: 83.27 kB / 0.7524 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001101/4.995, allocations: 20.03 kB / 0.7524 GB, free: 10.09 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.0002886/4.996, allocations: 123.1 kB / 0.7525 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001066/4.996, allocations: 8 kB / 0.7525 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/4.996, allocations: 0 / 0.7525 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/4.996, allocations: 4 kB / 0.7525 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/4.996, allocations: 10.52 kB / 0.7525 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/4.996, allocations: 63.98 kB / 0.7526 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/4.997, allocations: 0.6879 MB / 0.7533 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of SimCode: time 9.41e-07/4.997, allocations: 4 kB / 0.7533 GB, free: 9.137 MB / 0.6355 GB