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.To_psi.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.To_psi,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",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.379/4.379, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5584/4.937, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/5.17, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2605/5.431, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/5.431, allocations: 75.59 kB / 0.7489 GB, free: 14.07 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.00449/5.435, allocations: 1.206 MB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/5.435, allocations: 8 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/5.436, allocations: 11.91 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/5.436, allocations: 170.9 kB / 0.7503 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/5.436, allocations: 4 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/5.436, allocations: 7.906 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001464/5.436, allocations: 35.98 kB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/5.436, allocations: 87.33 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/5.436, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/5.436, allocations: 0 / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/5.436, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/5.437, allocations: 413.1 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/5.437, allocations: 41.28 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/5.438, allocations: 17.84 kB / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/5.438, allocations: 0 / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/5.438, allocations: 46.47 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.346e-06/5.438, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003915/5.438, allocations: 45.55 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/5.438, allocations: 81.09 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/5.438, allocations: 121.2 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/5.439, allocations: 25.7 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/5.439, allocations: 112 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/5.439, allocations: 7.969 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/5.439, allocations: 224 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002003/5.439, allocations: 318.8 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/5.439, allocations: 11.92 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/5.439, allocations: 17.72 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.482e-05/5.439, allocations: 11.91 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/5.439, allocations: 0 / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000256/5.439, allocations: 57.64 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/5.439, allocations: 7.984 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/5.44, allocations: 3.906 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/5.44, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/5.44, allocations: 12 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/5.44, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/5.44, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/5.44, allocations: 4 kB / 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 0.0001331/5.44, allocations: 104.9 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/5.44, allocations: 11.97 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.976e-05/5.44, allocations: 7.578 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/5.44, allocations: 7.844 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/5.44, allocations: 4 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/5.44, allocations: 0 / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/5.441, allocations: 447.4 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/5.441, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/5.442, allocations: 8.062 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/5.442, allocations: 3.938 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/5.442, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/5.442, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/5.442, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002603/5.442, allocations: 88.33 kB / 0.7524 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005223/5.442, allocations: 471.9 kB / 0.7528 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/5.443, allocations: 89 kB / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/5.443, allocations: 0 / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/5.443, allocations: 0 / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/5.443, allocations: 4.031 kB / 0.7529 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/5.443, allocations: 4 kB / 0.7529 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001741/5.443, allocations: 106.1 kB / 0.753 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002629/5.446, allocations: 11.91 kB / 0.753 GB, free: 9.5 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.0002809/5.446, allocations: 95.25 kB / 0.7531 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002183/5.446, allocations: 20 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/5.446, allocations: 3.938 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/5.446, allocations: 12.06 kB / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/5.447, allocations: 14.52 kB / 0.7532 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/5.447, allocations: 107.9 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/5.448, allocations: 0.7153 MB / 0.754 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/5.448, allocations: 0 / 0.754 GB, free: 8.477 MB / 0.6355 GB