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.System2.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.System2,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_Boiler_System2",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.395/4.395, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5968/4.992, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/5.234, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/11.61, allocations: 2.486 GB / 3.114 GB, free: 166.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/11.61, allocations: 90.02 kB / 3.114 GB, free: 166.6 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 6.008/17.62, allocations: 1.287 GB / 4.401 GB, free: 107.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/17.62, allocations: 7.656 kB / 4.401 GB, free: 107.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007416/17.63, allocations: 0.6477 MB / 4.402 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/17.65, allocations: 4.713 MB / 4.406 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/17.65, allocations: 73.5 kB / 4.407 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/17.65, allocations: 152.5 kB / 4.407 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008899/17.66, allocations: 2.462 MB / 4.409 GB, free: 106.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/17.67, allocations: 2.728 MB / 4.412 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/17.67, allocations: 11.09 kB / 4.412 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004454/17.67, allocations: 11.03 kB / 4.412 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/17.67, allocations: 103.8 kB / 4.412 GB, free: 106 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04238/17.71, allocations: 12.85 MB / 4.424 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/17.72, allocations: 1.871 MB / 4.426 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/17.72, allocations: 1.068 MB / 4.427 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01303/17.73, allocations: 4.054 MB / 4.431 GB, free: 98.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/17.74, allocations: 0.9234 MB / 4.432 GB, free: 97.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=141): time 7.384e-06/17.74, allocations: 4 kB / 4.432 GB, free: 97.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=145): time 0.02507/17.76, allocations: 4.851 MB / 4.437 GB, free: 95.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/17.76, allocations: 152.4 kB / 4.437 GB, free: 95.69 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009052/17.77, allocations: 2.375 MB / 4.439 GB, free: 94.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007981/17.77, allocations: 34.11 kB / 4.439 GB, free: 94.74 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002212/17.77, allocations: 1.018 MB / 4.44 GB, free: 94.04 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/17.78, allocations: 497.7 kB / 4.441 GB, free: 93.66 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/17.78, allocations: 1.312 kB / 4.441 GB, free: 93.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002321/17.78, allocations: 389.6 kB / 4.441 GB, free: 93.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00292/17.78, allocations: 0.9143 MB / 4.442 GB, free: 92.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/17.78, allocations: 1.535 MB / 4.444 GB, free: 91.85 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/17.79, allocations: 1.297 MB / 4.445 GB, free: 91.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.221e-05/17.79, allocations: 4.844 kB / 4.445 GB, free: 91.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01223/17.8, allocations: 2.969 MB / 4.448 GB, free: 89.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001748/17.8, allocations: 7.055 MB / 4.455 GB, free: 81.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/17.8, allocations: 20 kB / 4.455 GB, free: 81.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/17.81, allocations: 279.7 kB / 4.455 GB, free: 81.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004531/17.81, allocations: 482.8 kB / 4.455 GB, free: 80.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/17.82, allocations: 2.579 MB / 4.458 GB, free: 78.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/17.82, allocations: 168.2 kB / 4.458 GB, free: 78.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000897/17.82, allocations: 106.5 kB / 4.458 GB, free: 77.95 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/17.82, allocations: 11.58 kB / 4.458 GB, free: 77.95 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009626/17.83, allocations: 2.515 MB / 4.461 GB, free: 75.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.255e-05/17.83, allocations: 16 kB / 4.461 GB, free: 75.76 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/17.83, allocations: 297 kB / 4.461 GB, free: 75.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/17.84, allocations: 471.4 kB / 4.461 GB, free: 75.13 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004822/17.84, allocations: 2.584 MB / 4.464 GB, free: 72.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/17.85, allocations: 142.4 kB / 4.464 GB, free: 72.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006737/17.85, allocations: 106.5 kB / 4.464 GB, free: 72.36 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 242 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008381/17.85, allocations: 174.7 kB / 4.464 GB, free: 72.19 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/17.85, allocations: 284.5 kB / 4.465 GB, free: 71.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/17.86, allocations: 2.478 MB / 4.467 GB, free: 69.86 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/17.86, allocations: 19.91 kB / 4.467 GB, free: 69.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/17.86, allocations: 4 kB / 4.467 GB, free: 69.83 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006064/17.87, allocations: 2.108 MB / 4.469 GB, free: 67.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/17.88, allocations: 4.9 MB / 4.474 GB, free: 63.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/17.88, allocations: 0.9375 kB / 4.474 GB, free: 63.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/17.89, allocations: 276.3 kB / 4.474 GB, free: 63.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/17.89, allocations: 325.8 kB / 4.474 GB, free: 63.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/17.89, allocations: 28.39 kB / 4.475 GB, free: 63.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008759/17.9, allocations: 8.594 MB / 4.483 GB, free: 54.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/17.9, allocations: 4 kB / 4.483 GB, free: 54.58 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.011/17.91, allocations: 3.47 MB / 4.486 GB, free: 51.42 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0141/17.92, allocations: 5.119 MB / 4.491 GB, free: 46.73 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003128/17.93, allocations: 0.6154 MB / 4.492 GB, free: 46.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/17.93, allocations: 14.67 kB / 4.492 GB, free: 46.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007277/17.94, allocations: 112.5 kB / 4.492 GB, free: 46.08 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008948/17.94, allocations: 90.67 kB / 4.492 GB, free: 46.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005495/17.94, allocations: 60.09 kB / 4.492 GB, free: 45.98 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.007695/17.95, allocations: 1.79 MB / 4.494 GB, free: 44.41 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.02017/17.97, allocations: 2.17 MB / 4.496 GB, free: 42.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.nextTimeEvent,hysPum.y,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007363/17.97, allocations: 2.102 MB / 4.498 GB, free: 40.35 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01488/17.99, allocations: 3.968 MB / 4.502 GB, free: 36.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/17.99, allocations: 4.438 kB / 4.502 GB, free: 36.35 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005026/17.99, allocations: 1.581 MB / 4.504 GB, free: 34.71 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01492/18.01, allocations: 1.367 MB / 4.505 GB, free: 33.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/18.03, allocations: 5.46 MB / 4.51 GB, free: 27.92 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005778/18.03, allocations: 2.729 MB / 4.513 GB, free: 25.16 MB / 0.823 GB Notification: Performance of SimCode: time 2.144e-06/18.03, allocations: 0 / 4.513 GB, free: 25.16 MB / 0.823 GB