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.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.055/4.055, allocations: 433 MB / 440.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2581/4.313, allocations: 104.3 MB / 0.5319 GB, free: 2.285 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/4.842, allocations: 98.69 MB / 0.6283 GB, free: 104 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/5.923, allocations: 432.8 MB / 1.051 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/5.923, allocations: 85.75 kB / 1.051 GB, free: 11.28 MB / 0.7761 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$mRoo_flow.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 1.586/7.51, allocations: 326.3 MB / 1.37 GB, free: 75.64 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/7.51, allocations: 8 kB / 1.37 GB, free: 75.64 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007208/7.511, allocations: 134.4 kB / 1.37 GB, free: 75.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/7.514, allocations: 0.957 MB / 1.371 GB, free: 74.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/7.514, allocations: 31.92 kB / 1.371 GB, free: 74.47 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/7.514, allocations: 52 kB / 1.371 GB, free: 74.42 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/7.516, allocations: 0.5155 MB / 1.371 GB, free: 73.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/7.517, allocations: 0.7055 MB / 1.372 GB, free: 73.15 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/7.518, allocations: 3.906 kB / 1.372 GB, free: 73.15 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/7.518, allocations: 4 kB / 1.372 GB, free: 73.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/7.518, allocations: 16 kB / 1.372 GB, free: 73.13 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/7.528, allocations: 4.026 MB / 1.376 GB, free: 68.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/7.53, allocations: 355 kB / 1.376 GB, free: 68.48 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/7.531, allocations: 242.3 kB / 1.377 GB, free: 68.24 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/7.533, allocations: 0.9939 MB / 1.377 GB, free: 67.03 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/7.534, allocations: 278 kB / 1.378 GB, free: 66.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=58): time 8.466e-06/7.534, allocations: 0 / 1.378 GB, free: 66.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=58): time 0.004172/7.538, allocations: 0.5792 MB / 1.378 GB, free: 66.15 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/7.538, allocations: 85.61 kB / 1.378 GB, free: 66.05 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/7.54, allocations: 0.6488 MB / 1.379 GB, free: 65.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/7.541, allocations: 29.7 kB / 1.379 GB, free: 65.36 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004723/7.541, allocations: 339.7 kB / 1.379 GB, free: 65.02 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/7.542, allocations: 197.1 kB / 1.38 GB, free: 64.83 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/7.542, allocations: 0 / 1.38 GB, free: 64.83 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001132/7.542, allocations: 330 kB / 1.38 GB, free: 64.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008009/7.543, allocations: 185.3 kB / 1.38 GB, free: 64.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000918/7.544, allocations: 327.5 kB / 1.38 GB, free: 63.95 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/7.546, allocations: 271 kB / 1.381 GB, free: 63.69 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/7.546, allocations: 0 / 1.381 GB, free: 63.69 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00432/7.55, allocations: 0.6835 MB / 1.381 GB, free: 62.99 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/7.551, allocations: 0.8832 MB / 1.382 GB, free: 62.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/7.551, allocations: 3.984 kB / 1.382 GB, free: 62.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007194/7.552, allocations: 76.83 kB / 1.382 GB, free: 61.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/7.553, allocations: 123.8 kB / 1.382 GB, free: 61.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/7.555, allocations: 0.6849 MB / 1.383 GB, free: 61.13 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/7.557, allocations: 91.38 kB / 1.383 GB, free: 61.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/7.557, allocations: 31.98 kB / 1.383 GB, free: 61.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/7.558, allocations: 0 / 1.383 GB, free: 61.01 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003917/7.561, allocations: 0.5771 MB / 1.384 GB, free: 60.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/7.562, allocations: 0 / 1.384 GB, free: 60.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/7.562, allocations: 84.86 kB / 1.384 GB, free: 60.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/7.564, allocations: 120.1 kB / 1.384 GB, free: 60.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/7.565, allocations: 0.681 MB / 1.385 GB, free: 59.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/7.567, allocations: 71.55 kB / 1.385 GB, free: 59.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/7.567, allocations: 35.89 kB / 1.385 GB, free: 59.41 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003583/7.568, allocations: 123.6 kB / 1.385 GB, free: 59.29 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/7.568, allocations: 86.88 kB / 1.385 GB, free: 59.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/7.573, allocations: 0.8108 MB / 1.386 GB, free: 58.37 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/7.573, allocations: 8 kB / 1.386 GB, free: 58.36 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/7.573, allocations: 0 / 1.386 GB, free: 58.36 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/7.576, allocations: 0.7436 MB / 1.386 GB, free: 57.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00637/7.582, allocations: 1.469 MB / 1.388 GB, free: 56.04 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/7.582, allocations: 0 / 1.388 GB, free: 56.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/7.584, allocations: 103.8 kB / 1.388 GB, free: 55.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/7.585, allocations: 141.6 kB / 1.388 GB, free: 55.79 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/7.586, allocations: 11.98 kB / 1.388 GB, free: 55.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/7.588, allocations: 1.276 MB / 1.389 GB, free: 54.45 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/7.588, allocations: 3.906 kB / 1.389 GB, free: 54.45 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004889/7.593, allocations: 1.11 MB / 1.39 GB, free: 53.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006434/7.599, allocations: 1.829 MB / 1.392 GB, free: 51.42 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/7.601, allocations: 255.7 kB / 1.392 GB, free: 51.15 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004356/7.601, allocations: 8 kB / 1.392 GB, free: 51.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/7.603, allocations: 47.86 kB / 1.393 GB, free: 51.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/7.603, allocations: 36.61 kB / 1.393 GB, free: 51.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/7.603, allocations: 23.98 kB / 1.393 GB, free: 51.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001471/7.605, allocations: 0.503 MB / 1.393 GB, free: 50.54 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007813/7.613, allocations: 0.7874 MB / 1.394 GB, free: 49.75 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003327/7.616, allocations: 0.8112 MB / 1.395 GB, free: 48.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004073/7.62, allocations: 0.9545 MB / 1.396 GB, free: 48.01 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/7.62, allocations: 0 / 1.396 GB, free: 48.01 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001575/7.622, allocations: 315.3 kB / 1.396 GB, free: 47.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/7.627, allocations: 341.3 kB / 1.396 GB, free: 47.37 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/7.635, allocations: 1.509 MB / 1.398 GB, free: 45.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/7.637, allocations: 1.175 MB / 1.399 GB, free: 44.62 MB / 0.823 GB Notification: Performance of SimCode: time 1.933e-06/7.637, allocations: 0 / 1.399 GB, free: 44.62 MB / 0.823 GB