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_quad.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_quad,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.396/4.396, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5412/4.937, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/5.159, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/5.469, allocations: 123.5 MB / 0.7489 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/5.469, allocations: 67.59 kB / 0.7489 GB, free: 14.09 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.006299/5.475, allocations: 1.209 MB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/5.475, allocations: 12 kB / 0.7501 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/5.476, allocations: 7.906 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/5.476, allocations: 178.9 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/5.476, allocations: 0 / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/5.476, allocations: 11.89 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002436/5.476, allocations: 32 kB / 0.7504 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/5.476, allocations: 83.34 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/5.476, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/5.476, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/5.476, allocations: 4 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/5.478, allocations: 425.2 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.976e-05/5.478, allocations: 41.25 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/5.478, allocations: 9.781 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/5.478, allocations: 4 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/5.478, allocations: 38.47 kB / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.138e-06/5.478, allocations: 0 / 0.7509 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002978/5.478, allocations: 53.53 kB / 0.751 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/5.478, allocations: 77.11 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/5.479, allocations: 121.2 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/5.479, allocations: 25.7 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/5.479, allocations: 104.1 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/5.479, allocations: 15.97 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/5.479, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000174/5.479, allocations: 314.8 kB / 0.7516 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/5.479, allocations: 8 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/5.479, allocations: 17.94 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/5.479, allocations: 15.91 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/5.479, allocations: 3.938 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002205/5.479, allocations: 57.62 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/5.479, allocations: 6.812 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/5.479, allocations: 3.906 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/5.48, allocations: 7.938 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/5.48, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/5.48, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/5.48, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/5.48, allocations: 4 kB / 0.7517 GB, free: 11 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.0001108/5.48, allocations: 104.9 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/5.48, allocations: 11.97 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/5.48, allocations: 15.58 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/5.48, allocations: 3.906 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/5.48, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/5.48, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/5.481, allocations: 451.3 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/5.481, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/5.481, allocations: 8.062 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/5.481, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/5.481, allocations: 4 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/5.481, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/5.481, allocations: 4.031 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/5.481, allocations: 84.33 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003288/5.482, allocations: 475.9 kB / 0.7528 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/5.482, allocations: 89.02 kB / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/5.482, allocations: 0 / 0.7529 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/5.482, allocations: 4 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/5.482, allocations: 7.969 kB / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/5.482, allocations: 0 / 0.7529 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001395/5.482, allocations: 103.3 kB / 0.753 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001799/5.484, allocations: 11.91 kB / 0.753 GB, free: 9.512 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.0002278/5.484, allocations: 99.25 kB / 0.7531 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003088/5.485, allocations: 12 kB / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.485, allocations: 0 / 0.7532 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/5.485, allocations: 24.05 kB / 0.7532 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/5.485, allocations: 6.516 kB / 0.7532 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/5.486, allocations: 115.9 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/5.486, allocations: 0.7075 MB / 0.754 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/5.486, allocations: 0 / 0.754 GB, free: 8.492 MB / 0.6355 GB