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_ton.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_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.419/4.419, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6102/5.029, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/5.264, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/5.496, allocations: 123.5 MB / 0.7489 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/5.496, allocations: 63.61 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.004592/5.501, allocations: 1.208 MB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/5.501, allocations: 8 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/5.501, allocations: 11.91 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/5.501, allocations: 174.9 kB / 0.7503 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/5.501, allocations: 4 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/5.501, allocations: 11.89 kB / 0.7503 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001444/5.501, allocations: 32 kB / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/5.502, allocations: 79.34 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/5.502, allocations: 4 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/5.502, allocations: 0 / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/5.502, allocations: 4 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/5.502, allocations: 417.2 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/5.503, allocations: 45.17 kB / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/5.503, allocations: 13.84 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/5.503, allocations: 0 / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/5.503, allocations: 46.47 kB / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/5.503, allocations: 0 / 0.7509 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000205/5.503, allocations: 45.53 kB / 0.751 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/5.503, allocations: 77.11 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/5.503, allocations: 128.3 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/5.503, allocations: 25.7 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/5.503, allocations: 104.1 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/5.503, allocations: 7.906 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/5.503, allocations: 4.062 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/5.503, allocations: 318.8 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/5.503, allocations: 8 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/5.504, allocations: 17.94 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.208e-05/5.504, allocations: 11.91 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/5.504, allocations: 3.938 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001448/5.504, allocations: 61.62 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/5.504, allocations: 4 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.504, allocations: 3.906 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/5.504, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/5.504, allocations: 8 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/5.504, allocations: 3.984 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/5.504, allocations: 0 / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/5.504, allocations: 4 kB / 0.7517 GB, free: 10.96 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 9.897e-05/5.504, allocations: 104.9 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/5.504, allocations: 11.97 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/5.504, allocations: 11.58 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/5.504, allocations: 3.906 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/5.504, allocations: 8 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/5.504, allocations: 3.938 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/5.505, allocations: 451.3 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/5.505, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/5.505, allocations: 4.062 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/5.505, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/5.505, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/5.505, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/5.505, allocations: 7.938 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001345/5.505, allocations: 84.33 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002867/5.506, allocations: 472 kB / 0.7528 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/5.506, allocations: 89.02 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/5.506, allocations: 0 / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/5.506, allocations: 0 / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/5.506, allocations: 4.031 kB / 0.7529 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/5.506, allocations: 7.938 kB / 0.7529 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001065/5.506, allocations: 103.3 kB / 0.753 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00109/5.507, allocations: 11.91 kB / 0.7531 GB, free: 9.477 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.0001558/5.507, allocations: 95.25 kB / 0.7531 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001149/5.507, allocations: 16 kB / 0.7532 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/5.507, allocations: 0 / 0.7532 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/5.507, allocations: 20.05 kB / 0.7532 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/5.507, allocations: 7.938 kB / 0.7532 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/5.508, allocations: 115.9 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/5.508, allocations: 0.7075 MB / 0.754 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/5.508, allocations: 0 / 0.754 GB, free: 8.457 MB / 0.6355 GB