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.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.01/4.01, allocations: 433 MB / 440.3 MB, free: 4.859 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5921/4.602, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/4.847, allocations: 98.72 MB / 0.6283 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/5.124, allocations: 123.8 MB / 0.7492 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/5.124, allocations: 79.58 kB / 0.7493 GB, free: 13.8 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.009138/5.133, allocations: 1.805 MB / 0.7511 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/5.133, allocations: 8 kB / 0.7511 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/5.133, allocations: 4 kB / 0.7511 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/5.133, allocations: 170.9 kB / 0.7512 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/5.133, allocations: 4 kB / 0.7512 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/5.133, allocations: 4 kB / 0.7512 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.365e-05/5.133, allocations: 8 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.159e-05/5.134, allocations: 37.69 kB / 0.7513 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/5.134, allocations: 3.984 kB / 0.7513 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/5.134, allocations: 3.906 kB / 0.7513 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/5.134, allocations: 0 / 0.7513 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/5.134, allocations: 134.3 kB / 0.7514 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/5.134, allocations: 38.52 kB / 0.7515 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/5.134, allocations: 8.922 kB / 0.7515 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/5.136, allocations: 1.171 MB / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/5.136, allocations: 30.56 kB / 0.7526 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.128e-06/5.136, allocations: 8 kB / 0.7526 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002693/5.136, allocations: 45.55 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/5.136, allocations: 59.39 kB / 0.7527 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.312e-05/5.136, allocations: 93 kB / 0.7528 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/5.136, allocations: 25.7 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/5.136, allocations: 84.14 kB / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/5.136, allocations: 3.906 kB / 0.7529 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/5.136, allocations: 0 / 0.7529 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001265/5.136, allocations: 322.7 kB / 0.7532 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/5.136, allocations: 11.94 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/5.136, allocations: 4 kB / 0.7533 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/5.137, allocations: 4 kB / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/5.137, allocations: 0 / 0.7533 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002349/5.137, allocations: 49.62 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/5.137, allocations: 4 kB / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/5.137, allocations: 0 / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/5.137, allocations: 0 / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/5.137, allocations: 8 kB / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/5.137, allocations: 4 kB / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/5.137, allocations: 4 kB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/5.137, allocations: 0 / 0.7533 GB, free: 9.199 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.000117/5.137, allocations: 104.9 kB / 0.7534 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/5.137, allocations: 7.984 kB / 0.7534 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/5.138, allocations: 65.53 kB / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/5.138, allocations: 0 / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/5.138, allocations: 0 / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/5.138, allocations: 0 / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/5.138, allocations: 142.2 kB / 0.7536 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/5.138, allocations: 0 / 0.7536 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/5.138, allocations: 4 kB / 0.7536 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/5.138, allocations: 0 / 0.7536 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/5.138, allocations: 0 / 0.7536 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/5.138, allocations: 7.891 kB / 0.7536 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/5.138, allocations: 8 kB / 0.7537 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001573/5.138, allocations: 69.3 kB / 0.7537 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002762/5.138, allocations: 453.5 kB / 0.7542 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/5.139, allocations: 92.95 kB / 0.7542 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/5.139, allocations: 0 / 0.7542 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/5.139, allocations: 7.984 kB / 0.7542 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/5.139, allocations: 0 / 0.7542 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/5.139, allocations: 4 kB / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.148e-05/5.139, allocations: 83.58 kB / 0.7543 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001208/5.14, allocations: 39.83 kB / 0.7544 GB, free: 8.02 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.0002584/5.14, allocations: 127.2 kB / 0.7545 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.674e-05/5.14, allocations: 11.94 kB / 0.7545 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.14, allocations: 4 kB / 0.7545 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/5.14, allocations: 8 kB / 0.7545 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/5.141, allocations: 4 kB / 0.7545 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/5.141, allocations: 59.78 kB / 0.7546 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/5.141, allocations: 0.7032 MB / 0.7553 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/5.141, allocations: 0 / 0.7553 GB, free: 7.051 MB / 0.6355 GB