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.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.929/3.929, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5632/4.493, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/4.738, allocations: 98.72 MB / 0.6283 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/5.825, allocations: 433.6 MB / 1.052 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/5.825, allocations: 83.59 kB / 1.052 GB, free: 4.195 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 1.44/7.264, allocations: 279.2 MB / 1.324 GB, free: 87.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/7.265, allocations: 8 kB / 1.324 GB, free: 87.42 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/7.266, allocations: 193.8 kB / 1.325 GB, free: 87.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/7.271, allocations: 1.368 MB / 1.326 GB, free: 85.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/7.271, allocations: 48 kB / 1.326 GB, free: 85.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/7.271, allocations: 88 kB / 1.326 GB, free: 85.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007405/7.279, allocations: 2.27 MB / 1.328 GB, free: 83.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005435/7.284, allocations: 1.644 MB / 1.33 GB, free: 81.73 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/7.284, allocations: 4 kB / 1.33 GB, free: 81.72 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/7.284, allocations: 0 / 1.33 GB, free: 81.72 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/7.284, allocations: 39.98 kB / 1.33 GB, free: 81.68 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/7.3, allocations: 4.996 MB / 1.335 GB, free: 76.61 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/7.303, allocations: 1.173 MB / 1.336 GB, free: 75.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/7.307, allocations: 1.351 MB / 1.337 GB, free: 74.07 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00248/7.309, allocations: 1.845 MB / 1.339 GB, free: 71.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/7.309, allocations: 60.56 kB / 1.339 GB, free: 71.77 MB / 0.823 GB Notification: Performance of pre-optimization done (n=237): time 5.731e-06/7.309, allocations: 0 / 1.339 GB, free: 71.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=237): time 0.009673/7.319, allocations: 2.473 MB / 1.342 GB, free: 69.28 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/7.319, allocations: 77.41 kB / 1.342 GB, free: 69.19 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/7.321, allocations: 0.6565 MB / 1.342 GB, free: 68.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005054/7.321, allocations: 25.7 kB / 1.342 GB, free: 68.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/7.321, allocations: 366.2 kB / 1.343 GB, free: 68.13 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009802/7.322, allocations: 0.7579 MB / 1.343 GB, free: 67.36 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/7.323, allocations: 0 / 1.343 GB, free: 67.36 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001588/7.323, allocations: 390 kB / 1.344 GB, free: 66.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/7.325, allocations: 0.8475 MB / 1.345 GB, free: 66.12 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/7.328, allocations: 1.043 MB / 1.346 GB, free: 65.02 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/7.335, allocations: 1.325 MB / 1.347 GB, free: 63.71 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-05/7.335, allocations: 4 kB / 1.347 GB, free: 63.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009811/7.344, allocations: 2.565 MB / 1.349 GB, free: 61.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/7.345, allocations: 4 kB / 1.349 GB, free: 61.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/7.345, allocations: 4 kB / 1.349 GB, free: 61.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.036e-05/7.345, allocations: 12 kB / 1.349 GB, free: 61.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/7.349, allocations: 443.8 kB / 1.35 GB, free: 60.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/7.349, allocations: 15.98 kB / 1.35 GB, free: 60.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/7.351, allocations: 170.2 kB / 1.35 GB, free: 60.49 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/7.352, allocations: 75.98 kB / 1.35 GB, free: 60.42 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0005218/7.352, allocations: 140.5 kB / 1.35 GB, free: 60.27 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005593/7.353, allocations: 146.2 kB / 1.35 GB, free: 60.13 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01961/7.373, allocations: 2.896 MB / 1.353 GB, free: 57.21 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/7.373, allocations: 24 kB / 1.353 GB, free: 57.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/7.373, allocations: 0 / 1.353 GB, free: 57.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01557/7.388, allocations: 2.533 MB / 1.356 GB, free: 54.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/7.409, allocations: 4.271 MB / 1.36 GB, free: 50.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/7.409, allocations: 4 kB / 1.36 GB, free: 50.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004241/7.413, allocations: 415.5 kB / 1.36 GB, free: 49.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/7.414, allocations: 85.64 kB / 1.36 GB, free: 49.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007041/7.414, allocations: 19.98 kB / 1.36 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/7.415, allocations: 1.128 MB / 1.361 GB, free: 48.57 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/7.415, allocations: 4 kB / 1.361 GB, free: 48.56 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01416/7.43, allocations: 4.239 MB / 1.366 GB, free: 44.29 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01862/7.448, allocations: 6.146 MB / 1.372 GB, free: 38.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/7.45, allocations: 494.6 kB / 1.372 GB, free: 37.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/7.451, allocations: 8 kB / 1.372 GB, free: 37.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/7.453, allocations: 75.84 kB / 1.372 GB, free: 37.51 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/7.454, allocations: 133.7 kB / 1.372 GB, free: 37.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/7.454, allocations: 67.98 kB / 1.372 GB, free: 37.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001056/7.455, allocations: 0.5148 MB / 1.373 GB, free: 36.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004001/7.459, allocations: 0.6865 MB / 1.374 GB, free: 36.11 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/7.461, allocations: 0.5489 MB / 1.374 GB, free: 35.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006172/7.467, allocations: 2.2 MB / 1.376 GB, free: 33.35 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/7.467, allocations: 0 / 1.376 GB, free: 33.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00336/7.47, allocations: 1.229 MB / 1.377 GB, free: 32.12 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/7.476, allocations: 471.3 kB / 1.378 GB, free: 31.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009472/7.485, allocations: 3.173 MB / 1.381 GB, free: 28.45 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/7.488, allocations: 1.6 MB / 1.383 GB, free: 26.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.294e-06/7.488, allocations: 0 / 1.383 GB, free: 26.82 MB / 0.823 GB