Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.032/4.032, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5425/4.575, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/4.822, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2686/5.091, allocations: 123.5 MB / 0.7489 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.091, allocations: 71.59 kB / 0.7489 GB, free: 14.06 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.004492/5.096, allocations: 1.202 MB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/5.096, allocations: 8 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/5.096, allocations: 11.91 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/5.096, allocations: 174.9 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/5.096, allocations: 7.938 kB / 0.7503 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/5.096, allocations: 7.906 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/5.096, allocations: 35.98 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/5.097, allocations: 79.34 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/5.097, allocations: 4 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/5.097, allocations: 0 / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/5.097, allocations: 7.984 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000746/5.097, allocations: 413.1 kB / 0.7508 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.546e-05/5.097, allocations: 41.28 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/5.098, allocations: 13.84 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/5.098, allocations: 0 / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/5.098, allocations: 46.47 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/5.098, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002074/5.098, allocations: 45.55 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/5.098, allocations: 81.09 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/5.098, allocations: 125.2 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/5.098, allocations: 25.7 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/5.098, allocations: 104.1 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/5.098, allocations: 7.906 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/5.098, allocations: 4.062 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001319/5.098, allocations: 314.8 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/5.098, allocations: 12.2 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/5.098, allocations: 17.72 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/5.098, allocations: 15.84 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/5.098, allocations: 0 / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001967/5.099, allocations: 57.69 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/5.099, allocations: 10.81 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/5.099, allocations: 3.906 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/5.099, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/5.099, allocations: 8 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/5.099, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/5.099, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/5.099, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.967e-05/5.099, allocations: 112.9 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/5.099, allocations: 7.906 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/5.099, allocations: 15.58 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/5.099, allocations: 3.906 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/5.099, allocations: 4 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/5.099, allocations: 0 / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/5.1, allocations: 447.4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/5.1, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/5.1, allocations: 7.938 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/5.1, allocations: 8 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/5.1, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/5.1, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/5.1, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001417/5.1, allocations: 84.33 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003032/5.1, allocations: 471.9 kB / 0.7528 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/5.101, allocations: 93 kB / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/5.101, allocations: 0 / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/5.101, allocations: 0 / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/5.101, allocations: 32 / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/5.101, allocations: 8 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001083/5.101, allocations: 99.27 kB / 0.753 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001142/5.102, allocations: 15.91 kB / 0.753 GB, free: 9.488 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001689/5.102, allocations: 95.25 kB / 0.7531 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001374/5.102, allocations: 16 kB / 0.7531 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/5.102, allocations: 0 / 0.7531 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.923e-05/5.102, allocations: 12.12 kB / 0.7532 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/5.103, allocations: 17.19 kB / 0.7532 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/5.103, allocations: 115.9 kB / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/5.103, allocations: 0.7114 MB / 0.754 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/5.103, allocations: 0 / 0.754 GB, free: 8.465 MB / 0.6355 GB