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_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.To_cfm,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.598/4.598, allocations: 433 MB / 440.3 MB, free: 24.74 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2626/4.861, allocations: 104.3 MB / 0.5319 GB, free: 4.492 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/5.446, allocations: 98.7 MB / 0.6283 GB, free: 0.6562 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3036/5.75, allocations: 123.5 MB / 0.7489 GB, free: 5.68 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004007/5.75, allocations: 63.97 kB / 0.7489 GB, free: 5.617 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.007094/5.757, allocations: 1.209 MB / 0.7501 GB, free: 4.371 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/5.757, allocations: 12 kB / 0.7501 GB, free: 4.359 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/5.757, allocations: 7.906 kB / 0.7501 GB, free: 4.352 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/5.758, allocations: 187.6 kB / 0.7503 GB, free: 4.129 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/5.758, allocations: 0 / 0.7503 GB, free: 4.129 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/5.758, allocations: 7.906 kB / 0.7503 GB, free: 4.121 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00023/5.758, allocations: 35.94 kB / 0.7503 GB, free: 4.086 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/5.758, allocations: 83.39 kB / 0.7504 GB, free: 3.992 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/5.758, allocations: 0 / 0.7504 GB, free: 3.992 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/5.758, allocations: 0 / 0.7504 GB, free: 3.992 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/5.759, allocations: 4 kB / 0.7504 GB, free: 3.988 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/5.76, allocations: 413.1 kB / 0.7508 GB, free: 3.543 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/5.76, allocations: 37.34 kB / 0.7509 GB, free: 3.488 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/5.76, allocations: 17.72 kB / 0.7509 GB, free: 3.465 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/5.76, allocations: 4.062 kB / 0.7509 GB, free: 3.461 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/5.76, allocations: 38.45 kB / 0.7509 GB, free: 3.414 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=2): time 3.777e-06/5.76, allocations: 0 / 0.7509 GB, free: 3.414 MB / 0.6121 GB Notification: Performance of matching and sorting (n=2): time 0.0003154/5.76, allocations: 49.55 kB / 0.751 GB, free: 3.359 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/5.76, allocations: 77.11 kB / 0.751 GB, free: 3.266 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/5.761, allocations: 127 kB / 0.7512 GB, free: 3.137 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/5.761, allocations: 29.7 kB / 0.7512 GB, free: 3.102 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/5.761, allocations: 104.1 kB / 0.7513 GB, free: 2.996 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/5.761, allocations: 7.906 kB / 0.7513 GB, free: 2.988 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/5.761, allocations: 0 / 0.7513 GB, free: 2.988 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001781/5.761, allocations: 318.8 kB / 0.7516 GB, free: 2.668 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/5.761, allocations: 4 kB / 0.7516 GB, free: 2.664 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/5.761, allocations: 17.72 kB / 0.7516 GB, free: 2.641 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/5.761, allocations: 23.84 kB / 0.7516 GB, free: 2.617 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.761, allocations: 0 / 0.7516 GB, free: 2.617 MB / 0.6121 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002085/5.762, allocations: 53.69 kB / 0.7517 GB, free: 2.559 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/5.762, allocations: 4 kB / 0.7517 GB, free: 2.555 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/5.762, allocations: 3.906 kB / 0.7517 GB, free: 2.551 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/5.762, allocations: 4 kB / 0.7517 GB, free: 2.547 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/5.762, allocations: 4 kB / 0.7517 GB, free: 2.543 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/5.762, allocations: 0 / 0.7517 GB, free: 2.543 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/5.762, allocations: 3.938 kB / 0.7517 GB, free: 2.539 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/5.762, allocations: 12.05 kB / 0.7517 GB, free: 2.527 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 0.0001241/5.762, allocations: 104.9 kB / 0.7518 GB, free: 2.418 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/5.762, allocations: 7.906 kB / 0.7518 GB, free: 2.41 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.259e-05/5.762, allocations: 12.25 kB / 0.7518 GB, free: 2.395 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/5.762, allocations: 7.906 kB / 0.7519 GB, free: 2.387 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/5.762, allocations: 0 / 0.7519 GB, free: 2.387 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/5.762, allocations: 0 / 0.7519 GB, free: 2.387 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008586/5.763, allocations: 451.8 kB / 0.7523 GB, free: 1.895 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/5.763, allocations: 4 kB / 0.7523 GB, free: 1.891 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/5.763, allocations: 4.094 kB / 0.7523 GB, free: 1.887 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/5.764, allocations: 3.984 kB / 0.7523 GB, free: 1.883 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/5.764, allocations: 4 kB / 0.7523 GB, free: 1.879 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/5.764, allocations: 224 / 0.7523 GB, free: 1.879 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/5.764, allocations: 3.984 kB / 0.7523 GB, free: 1.875 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002188/5.764, allocations: 93.81 kB / 0.7524 GB, free: 1.758 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000631/5.764, allocations: 471.9 kB / 0.7528 GB, free: 1.266 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/5.765, allocations: 89.08 kB / 0.7529 GB, free: 1.16 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/5.765, allocations: 3.984 kB / 0.7529 GB, free: 1.156 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/5.765, allocations: 0 / 0.7529 GB, free: 1.156 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/5.765, allocations: 4 kB / 0.7529 GB, free: 1.152 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/5.765, allocations: 0 / 0.7529 GB, free: 1.152 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.0003424/5.765, allocations: 103.3 kB / 0.753 GB, free: 1.051 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.002222/5.768, allocations: 11.91 kB / 0.753 GB, free: 1.039 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.0001942/5.768, allocations: 103.2 kB / 0.7531 GB, free: 0.9297 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001625/5.768, allocations: 16 kB / 0.7532 GB, free: 0.9141 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/5.768, allocations: 3.938 kB / 0.7532 GB, free: 0.9102 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/5.768, allocations: 4 kB / 0.7532 GB, free: 0.9062 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/5.768, allocations: 8 kB / 0.7532 GB, free: 0.8984 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/5.769, allocations: 116.5 kB / 0.7533 GB, free: 0.7578 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/5.769, allocations: 0.7127 MB / 0.754 GB, free: 20 kB / 0.6121 GB Notification: Performance of SimCode: time 1.042e-06/5.769, allocations: 0 / 0.754 GB, free: 20 kB / 0.6121 GB