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_cfm.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_cfm,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.414/4.414, allocations: 433 MB / 440.3 MB, free: 24.73 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2531/4.667, allocations: 104.4 MB / 0.5319 GB, free: 4.496 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/5.26, allocations: 98.69 MB / 0.6283 GB, free: 0.6484 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/5.553, allocations: 123.5 MB / 0.7489 GB, free: 5.699 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/5.554, allocations: 67.95 kB / 0.7489 GB, free: 5.633 MB / 0.6121 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.005763/5.559, allocations: 1.205 MB / 0.7501 GB, free: 4.391 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/5.559, allocations: 8 kB / 0.7501 GB, free: 4.383 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/5.56, allocations: 11.91 kB / 0.7501 GB, free: 4.371 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/5.56, allocations: 175.7 kB / 0.7503 GB, free: 4.16 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/5.56, allocations: 4 kB / 0.7503 GB, free: 4.156 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/5.56, allocations: 7.906 kB / 0.7503 GB, free: 4.148 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001639/5.56, allocations: 32 kB / 0.7503 GB, free: 4.117 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/5.561, allocations: 83.39 kB / 0.7504 GB, free: 4.023 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/5.561, allocations: 3.938 kB / 0.7504 GB, free: 4.02 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/5.561, allocations: 0 / 0.7504 GB, free: 4.02 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/5.561, allocations: 7.938 kB / 0.7504 GB, free: 4.012 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/5.562, allocations: 421.2 kB / 0.7508 GB, free: 3.559 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/5.562, allocations: 37.16 kB / 0.7509 GB, free: 3.504 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/5.562, allocations: 17.88 kB / 0.7509 GB, free: 3.48 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/5.562, allocations: 7.984 kB / 0.7509 GB, free: 3.473 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/5.562, allocations: 38.47 kB / 0.7509 GB, free: 3.426 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=2): time 4.569e-06/5.562, allocations: 0 / 0.7509 GB, free: 3.426 MB / 0.6121 GB Notification: Performance of matching and sorting (n=2): time 0.0003749/5.563, allocations: 41.61 kB / 0.751 GB, free: 3.379 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/5.563, allocations: 81.05 kB / 0.751 GB, free: 3.281 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/5.563, allocations: 128.3 kB / 0.7512 GB, free: 3.148 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/5.563, allocations: 29.77 kB / 0.7512 GB, free: 3.113 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/5.563, allocations: 108 kB / 0.7513 GB, free: 3.004 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-06/5.563, allocations: 5.328 kB / 0.7513 GB, free: 3 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/5.563, allocations: 0 / 0.7513 GB, free: 3 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001429/5.563, allocations: 318.8 kB / 0.7516 GB, free: 2.68 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/5.563, allocations: 8 kB / 0.7516 GB, free: 2.672 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/5.564, allocations: 17.72 kB / 0.7516 GB, free: 2.648 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/5.564, allocations: 19.89 kB / 0.7516 GB, free: 2.629 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.564, allocations: 0 / 0.7516 GB, free: 2.629 MB / 0.6121 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002497/5.564, allocations: 53.64 kB / 0.7517 GB, free: 2.57 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/5.564, allocations: 4 kB / 0.7517 GB, free: 2.566 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/5.564, allocations: 3.906 kB / 0.7517 GB, free: 2.562 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/5.564, allocations: 0 / 0.7517 GB, free: 2.562 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/5.564, allocations: 11.98 kB / 0.7517 GB, free: 2.551 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/5.564, allocations: 0 / 0.7517 GB, free: 2.551 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/5.564, allocations: 4.484 kB / 0.7517 GB, free: 2.547 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/5.564, allocations: 4.062 kB / 0.7517 GB, free: 2.543 MB / 0.6121 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.656e-05/5.565, allocations: 105 kB / 0.7518 GB, free: 2.434 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/5.565, allocations: 7.906 kB / 0.7518 GB, free: 2.426 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.428e-05/5.565, allocations: 8.312 kB / 0.7518 GB, free: 2.414 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/5.565, allocations: 4.125 kB / 0.7518 GB, free: 2.41 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/5.565, allocations: 4 kB / 0.7518 GB, free: 2.406 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/5.565, allocations: 7.922 kB / 0.7519 GB, free: 2.398 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/5.565, allocations: 451.3 kB / 0.7523 GB, free: 1.906 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/5.565, allocations: 0 / 0.7523 GB, free: 1.906 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/5.565, allocations: 7.984 kB / 0.7523 GB, free: 1.898 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/5.565, allocations: 0 / 0.7523 GB, free: 1.898 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/5.565, allocations: 0 / 0.7523 GB, free: 1.898 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/5.565, allocations: 0 / 0.7523 GB, free: 1.898 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/5.565, allocations: 4 kB / 0.7523 GB, free: 1.895 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001234/5.566, allocations: 89.81 kB / 0.7524 GB, free: 1.781 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002379/5.566, allocations: 467.9 kB / 0.7528 GB, free: 1.293 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/5.566, allocations: 101 kB / 0.7529 GB, free: 1.176 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/5.566, allocations: 0 / 0.7529 GB, free: 1.176 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/5.566, allocations: 0 / 0.7529 GB, free: 1.176 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/5.566, allocations: 0 / 0.7529 GB, free: 1.176 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/5.566, allocations: 4 kB / 0.7529 GB, free: 1.172 MB / 0.6121 GB Notification: Performance of sort global known variables: time 8.786e-05/5.566, allocations: 99.27 kB / 0.753 GB, free: 1.074 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001058/5.567, allocations: 15.91 kB / 0.753 GB, free: 1.059 MB / 0.6121 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.000163/5.567, allocations: 99.19 kB / 0.7531 GB, free: 0.9531 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001577/5.567, allocations: 20 kB / 0.7532 GB, free: 0.9336 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/5.568, allocations: 0 / 0.7532 GB, free: 0.9336 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/5.568, allocations: 8 kB / 0.7532 GB, free: 0.9258 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/5.568, allocations: 4 kB / 0.7532 GB, free: 0.9219 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/5.568, allocations: 124.4 kB / 0.7533 GB, free: 0.7734 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/5.569, allocations: 0.7127 MB / 0.754 GB, free: 36 kB / 0.6121 GB Notification: Performance of SimCode: time 1.042e-06/5.569, allocations: 0 / 0.754 GB, free: 36 kB / 0.6121 GB