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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.314/4.314, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5925/4.907, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/5.143, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/5.402, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/5.403, allocations: 67.61 kB / 0.7489 GB, free: 14.08 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.004613/5.407, allocations: 1.203 MB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/5.407, allocations: 8 kB / 0.7501 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/5.407, allocations: 15.91 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/5.408, allocations: 174.9 kB / 0.7503 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/5.408, allocations: 4 kB / 0.7503 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/5.408, allocations: 11.91 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002168/5.408, allocations: 32 kB / 0.7504 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/5.408, allocations: 87.33 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/5.408, allocations: 0 / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/5.408, allocations: 0 / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/5.408, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/5.409, allocations: 417.2 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/5.409, allocations: 37.25 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/5.409, allocations: 17.78 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/5.409, allocations: 4 kB / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/5.409, allocations: 42.47 kB / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.378e-06/5.409, allocations: 0 / 0.7509 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/5.41, allocations: 37.61 kB / 0.751 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/5.41, allocations: 89.05 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/5.41, allocations: 120.1 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/5.41, allocations: 29.77 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/5.41, allocations: 112 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/5.41, allocations: 3.906 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/5.41, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/5.41, allocations: 314.8 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/5.41, allocations: 12.16 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/5.411, allocations: 17.72 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/5.411, allocations: 23.83 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/5.411, allocations: 0 / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/5.411, allocations: 53.64 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/5.411, allocations: 4 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/5.411, allocations: 3.906 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/5.411, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/5.411, allocations: 11.98 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/5.411, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/5.411, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/5.411, allocations: 8.062 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 7.928e-05/5.411, allocations: 108.9 kB / 0.7518 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/5.411, allocations: 7.906 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/5.411, allocations: 3.594 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/5.411, allocations: 7.906 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/5.411, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/5.411, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/5.412, allocations: 455.3 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/5.412, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/5.412, allocations: 7.984 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/5.412, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/5.412, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/5.412, allocations: 4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.412, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000122/5.412, allocations: 92.34 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002763/5.412, allocations: 467.9 kB / 0.7528 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/5.412, allocations: 93.06 kB / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/5.412, allocations: 4 kB / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/5.413, allocations: 0 / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/5.413, allocations: 4 kB / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/5.413, allocations: 0 / 0.7529 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.424e-05/5.413, allocations: 103.3 kB / 0.753 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00108/5.414, allocations: 11.91 kB / 0.753 GB, free: 9.508 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.0001358/5.414, allocations: 99.19 kB / 0.7531 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001204/5.414, allocations: 24 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.414, allocations: 0 / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/5.414, allocations: 4 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/5.414, allocations: 11.94 kB / 0.7532 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/5.415, allocations: 118.4 kB / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/5.415, allocations: 0.7155 MB / 0.754 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.113e-06/5.415, allocations: 0 / 0.754 GB, free: 8.48 MB / 0.6355 GB