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_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.005/4.005, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.598/4.603, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/4.847, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.68/10.53, allocations: 2.181 GB / 2.809 GB, free: 144 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/10.53, allocations: 85.64 kB / 2.809 GB, free: 144 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 4.862/15.39, allocations: 0.9777 GB / 3.787 GB, free: 100.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/15.39, allocations: 8 kB / 3.787 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007928/15.4, allocations: 0.7669 MB / 3.788 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/15.4, allocations: 1.03 MB / 3.789 GB, free: 99.03 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/15.4, allocations: 31.92 kB / 3.789 GB, free: 99 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/15.4, allocations: 64 kB / 3.789 GB, free: 98.94 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002902/15.4, allocations: 0.9567 MB / 3.79 GB, free: 97.98 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/15.41, allocations: 1.151 MB / 3.791 GB, free: 96.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/15.41, allocations: 4 kB / 3.791 GB, free: 96.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/15.41, allocations: 4 kB / 3.791 GB, free: 96.74 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/15.41, allocations: 45.98 kB / 3.791 GB, free: 96.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/15.42, allocations: 5.747 MB / 3.796 GB, free: 90.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/15.42, allocations: 0.9172 MB / 3.797 GB, free: 89.84 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/15.42, allocations: 0.4912 MB / 3.798 GB, free: 89.34 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/15.43, allocations: 0.5833 MB / 3.798 GB, free: 88.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/15.43, allocations: 0.5885 MB / 3.799 GB, free: 88.05 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 4.369e-06/15.43, allocations: 4 kB / 3.799 GB, free: 88.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.004/15.43, allocations: 1.092 MB / 3.8 GB, free: 86.95 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/15.43, allocations: 60.06 kB / 3.8 GB, free: 86.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/15.43, allocations: 0.8553 MB / 3.801 GB, free: 86.01 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003281/15.43, allocations: 33.7 kB / 3.801 GB, free: 85.97 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/15.43, allocations: 415.5 kB / 3.801 GB, free: 85.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/15.43, allocations: 272.1 kB / 3.802 GB, free: 85.29 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/15.43, allocations: 4 kB / 3.802 GB, free: 85.28 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/15.43, allocations: 341.9 kB / 3.802 GB, free: 84.94 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/15.44, allocations: 466.1 kB / 3.802 GB, free: 84.49 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/15.44, allocations: 0.7842 MB / 3.803 GB, free: 83.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/15.44, allocations: 0.5276 MB / 3.804 GB, free: 83.03 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/15.44, allocations: 0 / 3.804 GB, free: 83.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003906/15.44, allocations: 1.306 MB / 3.805 GB, free: 81.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/15.44, allocations: 8 kB / 3.805 GB, free: 81.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/15.44, allocations: 4 kB / 3.805 GB, free: 81.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/15.44, allocations: 19.98 kB / 3.805 GB, free: 81.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/15.45, allocations: 323.5 kB / 3.805 GB, free: 81.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.027e-05/15.45, allocations: 23.92 kB / 3.805 GB, free: 81.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/15.45, allocations: 214.8 kB / 3.805 GB, free: 81.13 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/15.45, allocations: 67.95 kB / 3.805 GB, free: 81.07 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (120): * Single equations (assignments): 117 * 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.0005111/15.45, allocations: 142.7 kB / 3.806 GB, free: 80.92 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/15.45, allocations: 118.5 kB / 3.806 GB, free: 80.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/15.46, allocations: 1.198 MB / 3.807 GB, free: 79.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/15.46, allocations: 8 kB / 3.807 GB, free: 79.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/15.46, allocations: 3.984 kB / 3.807 GB, free: 79.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/15.46, allocations: 3.984 kB / 3.807 GB, free: 79.58 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/15.46, allocations: 2.598 MB / 3.809 GB, free: 76.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/15.46, allocations: 4 kB / 3.809 GB, free: 76.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/15.47, allocations: 271.8 kB / 3.81 GB, free: 76.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-05/15.47, allocations: 8 kB / 3.81 GB, free: 76.64 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/15.47, allocations: 19.97 kB / 3.81 GB, free: 76.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/15.47, allocations: 11.98 kB / 3.81 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/15.47, allocations: 7.938 kB / 3.81 GB, free: 76.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004612/15.47, allocations: 2.151 MB / 3.812 GB, free: 74.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006506/15.48, allocations: 3.306 MB / 3.815 GB, free: 70.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/15.48, allocations: 315.3 kB / 3.815 GB, free: 70.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/15.48, allocations: 15.98 kB / 3.815 GB, free: 70.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/15.48, allocations: 143.7 kB / 3.816 GB, free: 70.36 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/15.48, allocations: 64.42 kB / 3.816 GB, free: 70.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/15.48, allocations: 43.95 kB / 3.816 GB, free: 70.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001149/15.48, allocations: 0.6288 MB / 3.816 GB, free: 69.62 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004106/15.49, allocations: 0.7219 MB / 3.817 GB, free: 68.89 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004517/15.49, allocations: 2.366 MB / 3.819 GB, free: 66.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003297/15.49, allocations: 1.22 MB / 3.82 GB, free: 65.53 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/15.49, allocations: 2 kB / 3.82 GB, free: 65.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/15.5, allocations: 0.5497 MB / 3.821 GB, free: 64.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/15.5, allocations: 403.8 kB / 3.821 GB, free: 64.58 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/15.53, allocations: 2.797 MB / 3.824 GB, free: 61.71 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/15.53, allocations: 1.361 MB / 3.825 GB, free: 60.32 MB / 0.823 GB Notification: Performance of SimCode: time 1.674e-06/15.53, allocations: 0 / 3.825 GB, free: 60.32 MB / 0.823 GB