Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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 3.83/3.83, allocations: 433 MB / 440.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2713/4.101, allocations: 104.3 MB / 0.5319 GB, free: 2.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/4.677, allocations: 98.7 MB / 0.6283 GB, free: 80 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.427/10.1, allocations: 2.195 GB / 2.823 GB, free: 187.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/10.1, allocations: 86.14 kB / 2.823 GB, free: 187 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$XSet.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$XSet.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$XSet.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 2.709/12.81, allocations: 0.5807 GB / 3.404 GB, free: 178.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/12.81, allocations: 9.312 kB / 3.404 GB, free: 178.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/12.82, allocations: 238.9 kB / 3.404 GB, free: 178.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/12.82, allocations: 0.6226 MB / 3.405 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/12.82, allocations: 20 kB / 3.405 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/12.82, allocations: 29.2 kB / 3.405 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/12.82, allocations: 384.5 kB / 3.405 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/12.82, allocations: 444.7 kB / 3.406 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/12.82, allocations: 0 / 3.406 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/12.82, allocations: 7.312 kB / 3.406 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/12.82, allocations: 23.42 kB / 3.406 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/12.83, allocations: 2.295 MB / 3.408 GB, free: 176.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/12.83, allocations: 273.4 kB / 3.408 GB, free: 176.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/12.83, allocations: 132.8 kB / 3.408 GB, free: 176.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/12.83, allocations: 0.8268 MB / 3.409 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/12.83, allocations: 193 kB / 3.409 GB, free: 175.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=27): time 3.266e-06/12.83, allocations: 0 / 3.409 GB, free: 175.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=27): time 0.001908/12.83, allocations: 427.6 kB / 3.41 GB, free: 175.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/12.83, allocations: 120.4 kB / 3.41 GB, free: 175.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/12.83, allocations: 450.5 kB / 3.41 GB, free: 175.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/12.83, allocations: 29.58 kB / 3.41 GB, free: 175.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/12.83, allocations: 254 kB / 3.411 GB, free: 175 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/12.83, allocations: 86.34 kB / 3.411 GB, free: 175 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/12.83, allocations: 3.688 kB / 3.411 GB, free: 175 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001228/12.83, allocations: 368.8 kB / 3.411 GB, free: 174.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/12.83, allocations: 131.4 kB / 3.411 GB, free: 174.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/12.83, allocations: 320.3 kB / 3.412 GB, free: 174.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/12.83, allocations: 260.2 kB / 3.412 GB, free: 174.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/12.83, allocations: 3.625 kB / 3.412 GB, free: 174.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001758/12.84, allocations: 0.5547 MB / 3.412 GB, free: 174.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004326/12.84, allocations: 1.827 MB / 3.414 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/12.84, allocations: 5.594 kB / 3.414 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/12.84, allocations: 9.844 kB / 3.414 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/12.84, allocations: 96.06 kB / 3.414 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/12.84, allocations: 7.812 kB / 3.414 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008895/12.84, allocations: 56.77 kB / 3.414 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.984e-05/12.84, allocations: 28.84 kB / 3.414 GB, free: 172.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/12.84, allocations: 10 kB / 3.414 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/12.84, allocations: 472.2 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/12.84, allocations: 6.281 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/12.84, allocations: 4.688 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/12.84, allocations: 91.06 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/12.84, allocations: 13.88 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/12.84, allocations: 41.66 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/12.84, allocations: 35.97 kB / 3.415 GB, free: 172.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled,senHum.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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.000189/12.84, allocations: 122 kB / 3.415 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/12.84, allocations: 54.28 kB / 3.415 GB, free: 172.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/12.84, allocations: 390.3 kB / 3.416 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/12.84, allocations: 3.469 kB / 3.416 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/12.84, allocations: 0 / 3.416 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/12.84, allocations: 0 / 3.416 GB, free: 172.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/12.85, allocations: 1.182 MB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/12.85, allocations: 3.094 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/12.85, allocations: 49.34 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/12.85, allocations: 3.844 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/12.85, allocations: 7.797 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/12.85, allocations: 7.219 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/12.85, allocations: 6.781 kB / 3.417 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001677/12.85, allocations: 0.7882 MB / 3.418 GB, free: 171.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002336/12.85, allocations: 1.415 MB / 3.419 GB, free: 170.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/12.85, allocations: 171.9 kB / 3.419 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/12.85, allocations: 3.719 kB / 3.419 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/12.85, allocations: 17.7 kB / 3.419 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/12.85, allocations: 21.62 kB / 3.419 GB, free: 170.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/12.85, allocations: 20.88 kB / 3.419 GB, free: 170.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005762/12.85, allocations: 340.2 kB / 3.419 GB, free: 170.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00447/12.86, allocations: 0.757 MB / 3.42 GB, free: 170.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/12.86, allocations: 1.797 MB / 3.422 GB, free: 169.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001717/12.86, allocations: 0.6913 MB / 3.423 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/12.86, allocations: 0 / 3.423 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/12.86, allocations: 139.9 kB / 3.423 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/12.86, allocations: 193.1 kB / 3.423 GB, free: 169.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/12.87, allocations: 1.621 MB / 3.425 GB, free: 169.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/12.87, allocations: 0.9704 MB / 3.425 GB, free: 168.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.182e-06/12.87, allocations: 0 / 3.425 GB, free: 168.7 MB / 0.823 GB