Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_Boiler_System1",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.417/4.417, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5826/5, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/5.26, allocations: 98.73 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.532/10.79, allocations: 2.185 GB / 2.813 GB, free: 164.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/10.79, allocations: 88.53 kB / 2.813 GB, free: 164 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableValueNoDer. [/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$timTab.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$timTab.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.6486/11.44, allocations: 164.7 MB / 2.974 GB, free: 8.082 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/11.44, allocations: 8 kB / 2.974 GB, free: 8.074 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/11.44, allocations: 163.2 kB / 2.974 GB, free: 7.914 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/11.44, allocations: 471.9 kB / 2.974 GB, free: 7.41 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/11.44, allocations: 8 kB / 2.974 GB, free: 7.402 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/11.44, allocations: 20 kB / 2.974 GB, free: 7.383 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006319/11.45, allocations: 201.2 kB / 2.975 GB, free: 7.188 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/11.45, allocations: 275.8 kB / 2.975 GB, free: 6.906 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/11.45, allocations: 4 kB / 2.975 GB, free: 6.902 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/11.45, allocations: 3.984 kB / 2.975 GB, free: 6.898 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/11.45, allocations: 16.56 kB / 2.975 GB, free: 6.883 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/11.45, allocations: 1.372 MB / 2.976 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/11.45, allocations: 155.4 kB / 2.976 GB, free: 5.223 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/11.45, allocations: 96.84 kB / 2.976 GB, free: 5.125 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/11.45, allocations: 11.92 kB / 2.976 GB, free: 5.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/11.45, allocations: 151.2 kB / 2.977 GB, free: 4.953 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 2.956e-06/11.45, allocations: 0 / 2.977 GB, free: 4.953 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.004343/11.45, allocations: 0.9859 MB / 2.977 GB, free: 3.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/11.45, allocations: 55.41 kB / 2.978 GB, free: 3.844 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/11.46, allocations: 322 kB / 2.978 GB, free: 3.523 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/11.46, allocations: 25.7 kB / 2.978 GB, free: 3.492 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/11.46, allocations: 176.2 kB / 2.978 GB, free: 3.316 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/11.46, allocations: 102.5 kB / 2.978 GB, free: 3.215 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/11.46, allocations: 4 kB / 2.978 GB, free: 3.211 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001337/11.46, allocations: 346.8 kB / 2.978 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/11.46, allocations: 116.3 kB / 2.979 GB, free: 2.746 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/11.46, allocations: 162.5 kB / 2.979 GB, free: 2.566 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/11.46, allocations: 144.5 kB / 2.979 GB, free: 2.426 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/11.46, allocations: 4.031 kB / 2.979 GB, free: 2.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001452/11.46, allocations: 438.3 kB / 2.979 GB, free: 1.984 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/11.46, allocations: 4 kB / 2.979 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/11.46, allocations: 0 / 2.979 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/11.46, allocations: 92.94 kB / 2.979 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/11.46, allocations: 55.92 kB / 2.979 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/11.46, allocations: 1.638 MB / 2.981 GB, free: 76 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/11.46, allocations: 23.95 kB / 2.981 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/11.46, allocations: 12.06 kB / 2.981 GB, free: 40 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3224/11.78, allocations: 119 kB / 2.981 GB, free: 331.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/11.78, allocations: 39.84 kB / 2.981 GB, free: 331.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/11.79, allocations: 370.3 kB / 2.982 GB, free: 331.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/11.79, allocations: 3.969 kB / 2.982 GB, free: 331.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/11.79, allocations: 0 / 2.982 GB, free: 331.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/11.79, allocations: 3.703 kB / 2.982 GB, free: 331.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/11.79, allocations: 0.9343 MB / 2.983 GB, free: 331 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/11.79, allocations: 3.312 kB / 2.983 GB, free: 331 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/11.79, allocations: 60.45 kB / 2.983 GB, free: 331 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008892/11.79, allocations: 110.3 kB / 2.983 GB, free: 331 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/11.79, allocations: 7.188 kB / 2.983 GB, free: 331 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/11.79, allocations: 1.671 MB / 2.984 GB, free: 329.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/11.79, allocations: 0 / 2.984 GB, free: 329.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00158/11.8, allocations: 0.5665 MB / 2.985 GB, free: 329.6 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002025/11.8, allocations: 1.105 MB / 2.986 GB, free: 329.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/11.8, allocations: 155.5 kB / 2.986 GB, free: 329 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/11.8, allocations: 12.19 kB / 2.986 GB, free: 329 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/11.8, allocations: 13.95 kB / 2.986 GB, free: 329 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/11.8, allocations: 18.12 kB / 2.986 GB, free: 329 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/11.8, allocations: 9 kB / 2.986 GB, free: 329 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004112/11.8, allocations: 257.2 kB / 2.986 GB, free: 328.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002122/11.8, allocations: 235.6 kB / 2.987 GB, free: 328.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001866/11.8, allocations: 1.007 MB / 2.988 GB, free: 328.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001083/11.8, allocations: 425.1 kB / 2.988 GB, free: 328.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/11.8, allocations: 0 / 2.988 GB, free: 328.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/11.8, allocations: 256.8 kB / 2.988 GB, free: 328.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/11.81, allocations: 198 kB / 2.988 GB, free: 328.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/11.81, allocations: 0.7147 MB / 2.989 GB, free: 328.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/11.81, allocations: 0.8867 MB / 2.99 GB, free: 327.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.303e-06/11.81, allocations: 0 / 2.99 GB, free: 327.6 MB / 0.823 GB