Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.141/4.141, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5621/4.703, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/4.946, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/5.183, allocations: 124 MB / 0.7494 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/5.183, allocations: 79.59 kB / 0.7495 GB, free: 13.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.007002/5.19, allocations: 1.481 MB / 0.7509 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/5.19, allocations: 12 kB / 0.7509 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/5.191, allocations: 19.97 kB / 0.751 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/5.191, allocations: 163.1 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/5.191, allocations: 4 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/5.191, allocations: 0 / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/5.191, allocations: 15.91 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.235e-05/5.191, allocations: 41.69 kB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/5.191, allocations: 0 / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/5.191, allocations: 3.938 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/5.191, allocations: 0 / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/5.191, allocations: 138.2 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/5.195, allocations: 274.4 kB / 0.7516 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/5.195, allocations: 20.86 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/5.195, allocations: 0 / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/5.195, allocations: 46.41 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/5.195, allocations: 0 / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/5.196, allocations: 45.78 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/5.196, allocations: 59.34 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/5.196, allocations: 85 kB / 0.7518 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/5.196, allocations: 25.83 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/5.196, allocations: 88.14 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/5.196, allocations: 15.73 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/5.196, allocations: 0 / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001236/5.196, allocations: 314.8 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/5.196, allocations: 4 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-05/5.196, allocations: 12 kB / 0.7523 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/5.196, allocations: 8 kB / 0.7523 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/5.196, allocations: 0 / 0.7523 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/5.196, allocations: 45.69 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/5.196, allocations: 12 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/5.196, allocations: 3.984 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/5.196, allocations: 3.906 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/5.196, allocations: 7.984 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/5.197, allocations: 3.938 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.362e-05/5.197, allocations: 0 / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/5.197, allocations: 4 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 7.991e-05/5.197, allocations: 101 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/5.197, allocations: 3.906 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/5.197, allocations: 15.53 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/5.197, allocations: 0 / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/5.197, allocations: 0 / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/5.197, allocations: 0 / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/5.197, allocations: 138.2 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/5.197, allocations: 0 / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/5.197, allocations: 4 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/5.197, allocations: 7.906 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/5.197, allocations: 0 / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/5.197, allocations: 0 / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/5.197, allocations: 7.922 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001382/5.197, allocations: 81.06 kB / 0.7527 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002635/5.198, allocations: 453.7 kB / 0.7531 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/5.198, allocations: 77.11 kB / 0.7532 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/5.198, allocations: 11.84 kB / 0.7532 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/5.198, allocations: 4.047 kB / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/5.198, allocations: 7.969 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/5.198, allocations: 0 / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.758e-05/5.198, allocations: 83.28 kB / 0.7533 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001195/5.199, allocations: 4 kB / 0.7533 GB, free: 9.301 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002013/5.199, allocations: 99.25 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001487/5.2, allocations: 19.94 kB / 0.7534 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/5.2, allocations: 4.094 kB / 0.7534 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/5.2, allocations: 16 kB / 0.7534 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/5.2, allocations: 10.56 kB / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/5.2, allocations: 67.81 kB / 0.7535 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/5.201, allocations: 0.6954 MB / 0.7542 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/5.201, allocations: 0 / 0.7542 GB, free: 8.336 MB / 0.6355 GB