Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.Examples.ZonalFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.842/3.842, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5685/4.41, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/4.659, allocations: 98.74 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.966/10.62, allocations: 2.189 GB / 2.818 GB, free: 159.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005291/10.63, allocations: 92.33 kB / 2.818 GB, free: 159.1 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 3.126/13.75, allocations: 0.5876 GB / 3.405 GB, free: 163.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/13.75, allocations: 7.75 kB / 3.405 GB, free: 163.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/13.76, allocations: 360.5 kB / 3.406 GB, free: 163.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/13.76, allocations: 0.8716 MB / 3.406 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/13.76, allocations: 40.12 kB / 3.407 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/13.76, allocations: 57.41 kB / 3.407 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003172/13.76, allocations: 1.023 MB / 3.408 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/13.77, allocations: 0.9853 MB / 3.409 GB, free: 162.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/13.77, allocations: 2.156 kB / 3.409 GB, free: 162.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/13.77, allocations: 0 / 3.409 GB, free: 162.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/13.77, allocations: 62.67 kB / 3.409 GB, free: 162.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/13.78, allocations: 5.173 MB / 3.414 GB, free: 160.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/13.78, allocations: 0.8454 MB / 3.414 GB, free: 160.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/13.78, allocations: 0.5373 MB / 3.415 GB, free: 160.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/13.78, allocations: 18.53 kB / 3.415 GB, free: 160.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/13.78, allocations: 480.7 kB / 3.415 GB, free: 160.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 4.648e-06/13.78, allocations: 0 / 3.415 GB, free: 160.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.002925/13.79, allocations: 0.8377 MB / 3.416 GB, free: 160 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/13.79, allocations: 58.06 kB / 3.416 GB, free: 159.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/13.79, allocations: 425.9 kB / 3.417 GB, free: 159.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002653/13.79, allocations: 33.36 kB / 3.417 GB, free: 159.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/13.79, allocations: 382.9 kB / 3.417 GB, free: 159.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/13.79, allocations: 261.9 kB / 3.417 GB, free: 159.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/13.79, allocations: 0 / 3.417 GB, free: 159.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000224/13.79, allocations: 386.8 kB / 3.418 GB, free: 159.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/13.79, allocations: 318.4 kB / 3.418 GB, free: 159.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/13.79, allocations: 451.4 kB / 3.418 GB, free: 159 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/13.79, allocations: 386.5 kB / 3.419 GB, free: 159 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/13.79, allocations: 2.531 kB / 3.419 GB, free: 159 MB / 0.823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002292/13.79, allocations: 0.8782 MB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/13.79, allocations: 3.969 kB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/13.79, allocations: 7.281 kB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/13.79, allocations: 10.72 kB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/13.8, allocations: 161.3 kB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/13.8, allocations: 7.375 kB / 3.42 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/13.8, allocations: 113.7 kB / 3.42 GB, free: 158.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/13.8, allocations: 29.34 kB / 3.42 GB, free: 158.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0002889/13.8, allocations: 122 kB / 3.42 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/13.8, allocations: 73.62 kB / 3.42 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/13.8, allocations: 100.5 kB / 3.42 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/13.8, allocations: 10.81 kB / 3.42 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/13.8, allocations: 0 / 3.42 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/13.8, allocations: 1.064 MB / 3.421 GB, free: 158.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/13.81, allocations: 1.882 MB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/13.81, allocations: 3.719 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00249/13.81, allocations: 184.3 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/13.81, allocations: 7.531 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/13.81, allocations: 6.188 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/13.81, allocations: 3.875 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/13.81, allocations: 1.875 kB / 3.423 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00527/13.81, allocations: 1.487 MB / 3.425 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008591/13.82, allocations: 2.503 MB / 3.427 GB, free: 157.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/13.82, allocations: 259.3 kB / 3.428 GB, free: 157 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/13.83, allocations: 3.25 kB / 3.428 GB, free: 157 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/13.83, allocations: 89.31 kB / 3.428 GB, free: 157 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/13.83, allocations: 39.77 kB / 3.428 GB, free: 157 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.481e-05/13.83, allocations: 30.88 kB / 3.428 GB, free: 157 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006006/13.83, allocations: 333.5 kB / 3.428 GB, free: 156.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00336/13.83, allocations: 0.6503 MB / 3.429 GB, free: 156.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.003041/13.83, allocations: 1.826 MB / 3.43 GB, free: 156.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002041/13.84, allocations: 0.7849 MB / 3.431 GB, free: 156.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/13.84, allocations: 0 / 3.431 GB, free: 156.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001648/13.84, allocations: 425 kB / 3.432 GB, free: 156.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005176/13.84, allocations: 474.5 kB / 3.432 GB, free: 156.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/13.85, allocations: 1.809 MB / 3.434 GB, free: 155.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/13.85, allocations: 1.269 MB / 3.435 GB, free: 154.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.843e-06/13.85, allocations: 0 / 3.435 GB, free: 154.7 MB / 0.823 GB