Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.065/4.065, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5358/4.601, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/4.849, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.392/11.24, allocations: 2.428 GB / 3.056 GB, free: 215.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/11.24, allocations: 91.23 kB / 3.057 GB, free: 215.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$setHeaHigPow.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$setHeaHigPow.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$setHeaHigPow.getTableTimeTmax. [/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$setCooLimPow.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$setCooLimPow.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$setCooLimPow.getTableTimeTmax. [/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$setHeaCooUnl.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$setHeaCooUnl.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$setHeaCooUnl.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 2.685/13.93, allocations: 0.5783 GB / 3.635 GB, free: 180.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/13.93, allocations: 9.156 kB / 3.635 GB, free: 180.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006233/13.93, allocations: 0.647 MB / 3.635 GB, free: 180.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/13.94, allocations: 0.9275 MB / 3.636 GB, free: 180.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/13.94, allocations: 23.88 kB / 3.636 GB, free: 180.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/13.94, allocations: 55.56 kB / 3.636 GB, free: 180.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001918/13.94, allocations: 0.5694 MB / 3.637 GB, free: 180.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/13.94, allocations: 0.8057 MB / 3.638 GB, free: 180 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/13.94, allocations: 7.062 kB / 3.638 GB, free: 180 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/13.94, allocations: 3.625 kB / 3.638 GB, free: 180 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/13.94, allocations: 17.66 kB / 3.638 GB, free: 180 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009794/13.95, allocations: 5.556 MB / 3.643 GB, free: 176.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/13.95, allocations: 0.5535 MB / 3.644 GB, free: 176.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/13.95, allocations: 235.6 kB / 3.644 GB, free: 176.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/13.95, allocations: 0.9415 MB / 3.645 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008264/13.96, allocations: 342.2 kB / 3.645 GB, free: 175.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.418e-06/13.96, allocations: 3.562 kB / 3.645 GB, free: 175.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.002357/13.96, allocations: 0.6299 MB / 3.646 GB, free: 175 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/13.96, allocations: 55.53 kB / 3.646 GB, free: 174.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/13.96, allocations: 0.8811 MB / 3.647 GB, free: 174.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/13.96, allocations: 32.52 kB / 3.647 GB, free: 174.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/13.96, allocations: 419.3 kB / 3.647 GB, free: 174.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/13.96, allocations: 173.4 kB / 3.647 GB, free: 174.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/13.96, allocations: 3.969 kB / 3.647 GB, free: 174.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/13.96, allocations: 341.4 kB / 3.648 GB, free: 174.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008407/13.96, allocations: 288.9 kB / 3.648 GB, free: 174.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/13.96, allocations: 0.6132 MB / 3.649 GB, free: 173.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/13.96, allocations: 391.9 kB / 3.649 GB, free: 173.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/13.96, allocations: 3.625 kB / 3.649 GB, free: 173.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003525/13.97, allocations: 0.9862 MB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/13.97, allocations: 5.906 kB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/13.97, allocations: 7.688 kB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/13.97, allocations: 11.81 kB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/13.97, allocations: 291.4 kB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.058e-05/13.97, allocations: 22.73 kB / 3.65 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003013/13.97, allocations: 216.2 kB / 3.65 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004049/13.97, allocations: 50.73 kB / 3.65 GB, free: 173.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 3 * 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.0003477/13.97, allocations: 150.1 kB / 3.651 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/13.97, allocations: 107.8 kB / 3.651 GB, free: 173.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/13.98, allocations: 0.8896 MB / 3.652 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/13.98, allocations: 7.625 kB / 3.652 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/13.98, allocations: 0 / 3.652 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/13.98, allocations: 3.234 kB / 3.652 GB, free: 173.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/13.98, allocations: 1.691 MB / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/13.98, allocations: 0 / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/13.99, allocations: 209.8 kB / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/13.99, allocations: 0 / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/13.99, allocations: 21.31 kB / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/13.99, allocations: 3.906 kB / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/13.99, allocations: 3.469 kB / 3.653 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00349/13.99, allocations: 1.208 MB / 3.655 GB, free: 172.9 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004632/13.99, allocations: 2.018 MB / 3.657 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/14, allocations: 279.3 kB / 3.657 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/14, allocations: 7.625 kB / 3.657 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/14, allocations: 140 kB / 3.657 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/14, allocations: 36.94 kB / 3.657 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/14, allocations: 33.38 kB / 3.657 GB, free: 172.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001343/14, allocations: 0.6458 MB / 3.658 GB, free: 172 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003312/14, allocations: 497.2 kB / 3.658 GB, free: 171.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 6 * 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.002755/14.01, allocations: 0.9489 MB / 3.659 GB, free: 171.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002571/14.01, allocations: 0.8562 MB / 3.66 GB, free: 171.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/14.01, allocations: 0 / 3.66 GB, free: 171.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/14.01, allocations: 327.9 kB / 3.66 GB, free: 171.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/14.01, allocations: 295.2 kB / 3.661 GB, free: 171.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/14.02, allocations: 1.67 MB / 3.662 GB, free: 171.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/14.02, allocations: 1.27 MB / 3.663 GB, free: 170.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.443e-06/14.02, allocations: 3.531 kB / 3.663 GB, free: 170.4 MB / 0.823 GB