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_Btu.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_Btu,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.392/4.392, allocations: 433 MB / 440.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5774/4.969, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/5.228, allocations: 98.72 MB / 0.6283 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2513/5.479, allocations: 123.5 MB / 0.7489 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.479, allocations: 63.61 kB / 0.7489 GB, free: 14.01 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.005123/5.485, allocations: 1.206 MB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/5.485, allocations: 8 kB / 0.7501 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/5.485, allocations: 7.906 kB / 0.7501 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/5.485, allocations: 182.8 kB / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/5.485, allocations: 0 / 0.7503 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/5.485, allocations: 11.91 kB / 0.7503 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/5.485, allocations: 32 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/5.485, allocations: 79.34 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/5.485, allocations: 4 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/5.485, allocations: 4 kB / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/5.485, allocations: 0 / 0.7504 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/5.486, allocations: 425.1 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/5.486, allocations: 37.22 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/5.486, allocations: 17.77 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/5.486, allocations: 4.031 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/5.486, allocations: 42.47 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/5.486, allocations: 0 / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000209/5.487, allocations: 45.59 kB / 0.751 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/5.487, allocations: 77.11 kB / 0.7511 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/5.487, allocations: 124.3 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/5.487, allocations: 29.64 kB / 0.7512 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/5.487, allocations: 104.1 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/5.487, allocations: 11.91 kB / 0.7513 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/5.487, allocations: 4.062 kB / 0.7513 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001277/5.487, allocations: 314.8 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/5.487, allocations: 8.219 kB / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/5.487, allocations: 21.72 kB / 0.7516 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/5.487, allocations: 15.84 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/5.487, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001349/5.487, allocations: 53.69 kB / 0.7517 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/5.488, allocations: 7.938 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/5.488, allocations: 7.906 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/5.488, allocations: 0 / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/5.488, allocations: 4 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/5.488, allocations: 0 / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/5.488, allocations: 4 kB / 0.7517 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/5.488, allocations: 0 / 0.7517 GB, free: 10.91 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 7.829e-05/5.488, allocations: 104.9 kB / 0.7518 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/5.488, allocations: 11.97 kB / 0.7518 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/5.488, allocations: 15.58 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/5.488, allocations: 3.906 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/5.488, allocations: 0 / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/5.488, allocations: 0 / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/5.489, allocations: 451.3 kB / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/5.489, allocations: 4 kB / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/5.489, allocations: 0 / 0.7523 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/5.489, allocations: 8.062 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/5.489, allocations: 0 / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/5.489, allocations: 0 / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.489, allocations: 3.938 kB / 0.7523 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000135/5.489, allocations: 92.27 kB / 0.7524 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002622/5.489, allocations: 472 kB / 0.7528 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/5.489, allocations: 85.02 kB / 0.7529 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/5.489, allocations: 4 kB / 0.7529 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/5.489, allocations: 0 / 0.7529 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/5.489, allocations: 8.016 kB / 0.7529 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/5.489, allocations: 4 kB / 0.7529 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.693e-05/5.489, allocations: 99.28 kB / 0.753 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001782/5.491, allocations: 11.91 kB / 0.753 GB, free: 9.43 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.0001877/5.491, allocations: 99.25 kB / 0.7531 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000144/5.492, allocations: 19.92 kB / 0.7532 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/5.492, allocations: 4 kB / 0.7532 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/5.492, allocations: 12.12 kB / 0.7532 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/5.492, allocations: 5.312 kB / 0.7532 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/5.492, allocations: 122.4 kB / 0.7533 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/5.493, allocations: 0.7075 MB / 0.754 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/5.493, allocations: 0 / 0.754 GB, free: 8.406 MB / 0.6355 GB