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_degC.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_degC,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.349/4.349, allocations: 433 MB / 440.3 MB, free: 24.71 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.32/4.669, allocations: 104.3 MB / 0.5319 GB, free: 4.496 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/5.26, allocations: 98.69 MB / 0.6283 GB, free: 0.5469 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/5.532, allocations: 123.5 MB / 0.7489 GB, free: 5.59 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/5.533, allocations: 67.95 kB / 0.7489 GB, free: 5.523 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.005208/5.538, allocations: 1.28 MB / 0.7502 GB, free: 4.203 MB / 0.6121 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/5.538, allocations: 8 kB / 0.7502 GB, free: 4.195 MB / 0.6121 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/5.538, allocations: 11.81 kB / 0.7502 GB, free: 4.184 MB / 0.6121 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/5.538, allocations: 191.1 kB / 0.7504 GB, free: 3.957 MB / 0.6121 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/5.538, allocations: 4 kB / 0.7504 GB, free: 3.953 MB / 0.6121 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/5.538, allocations: 7.938 kB / 0.7504 GB, free: 3.945 MB / 0.6121 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001529/5.538, allocations: 35.98 kB / 0.7504 GB, free: 3.91 MB / 0.6121 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/5.539, allocations: 83.25 kB / 0.7505 GB, free: 3.816 MB / 0.6121 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/5.539, allocations: 3.984 kB / 0.7505 GB, free: 3.812 MB / 0.6121 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/5.539, allocations: 4 kB / 0.7505 GB, free: 3.809 MB / 0.6121 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/5.539, allocations: 0 / 0.7505 GB, free: 3.809 MB / 0.6121 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/5.539, allocations: 425.2 kB / 0.7509 GB, free: 3.352 MB / 0.6121 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/5.54, allocations: 41.25 kB / 0.751 GB, free: 3.293 MB / 0.6121 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/5.54, allocations: 17.7 kB / 0.751 GB, free: 3.27 MB / 0.6121 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/5.54, allocations: 4.062 kB / 0.751 GB, free: 3.266 MB / 0.6121 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/5.54, allocations: 30.56 kB / 0.751 GB, free: 3.227 MB / 0.6121 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/5.54, allocations: 0 / 0.751 GB, free: 3.227 MB / 0.6121 GB Notification: Performance of matching and sorting (n=2): time 0.0002073/5.54, allocations: 53.55 kB / 0.7511 GB, free: 3.168 MB / 0.6121 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/5.54, allocations: 77.11 kB / 0.7511 GB, free: 3.074 MB / 0.6121 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/5.54, allocations: 126.2 kB / 0.7513 GB, free: 2.934 MB / 0.6121 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/5.54, allocations: 25.7 kB / 0.7513 GB, free: 2.902 MB / 0.6121 GB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/5.54, allocations: 119.8 kB / 0.7514 GB, free: 2.781 MB / 0.6121 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/5.54, allocations: 3.906 kB / 0.7514 GB, free: 2.777 MB / 0.6121 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/5.54, allocations: 0 / 0.7514 GB, free: 2.777 MB / 0.6121 GB Notification: Performance of setup shared object (initialization): time 0.0001253/5.541, allocations: 318.9 kB / 0.7517 GB, free: 2.457 MB / 0.6121 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/5.541, allocations: 8 kB / 0.7517 GB, free: 2.449 MB / 0.6121 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/5.541, allocations: 25.7 kB / 0.7517 GB, free: 2.418 MB / 0.6121 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/5.541, allocations: 4 kB / 0.7517 GB, free: 2.414 MB / 0.6121 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/5.541, allocations: 0 / 0.7517 GB, free: 2.414 MB / 0.6121 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002005/5.541, allocations: 61.55 kB / 0.7518 GB, free: 2.348 MB / 0.6121 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/5.541, allocations: 4 kB / 0.7518 GB, free: 2.344 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/5.541, allocations: 8.047 kB / 0.7518 GB, free: 2.336 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/5.541, allocations: 0 / 0.7518 GB, free: 2.336 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/5.541, allocations: 8 kB / 0.7518 GB, free: 2.328 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/5.541, allocations: 0 / 0.7518 GB, free: 2.328 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/5.541, allocations: 3.906 kB / 0.7518 GB, free: 2.324 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/5.541, allocations: 8 kB / 0.7518 GB, free: 2.316 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 8.158e-05/5.541, allocations: 102.9 kB / 0.7519 GB, free: 2.211 MB / 0.6121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/5.541, allocations: 7.906 kB / 0.7519 GB, free: 2.203 MB / 0.6121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/5.542, allocations: 16.3 kB / 0.752 GB, free: 2.188 MB / 0.6121 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/5.542, allocations: 7.938 kB / 0.752 GB, free: 2.18 MB / 0.6121 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.542, allocations: 3.938 kB / 0.752 GB, free: 2.176 MB / 0.6121 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/5.542, allocations: 0 / 0.752 GB, free: 2.176 MB / 0.6121 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/5.542, allocations: 459.3 kB / 0.7524 GB, free: 1.676 MB / 0.6121 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/5.542, allocations: 0 / 0.7524 GB, free: 1.676 MB / 0.6121 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/5.542, allocations: 4 kB / 0.7524 GB, free: 1.672 MB / 0.6121 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/5.542, allocations: 0 / 0.7524 GB, free: 1.672 MB / 0.6121 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/5.542, allocations: 3.906 kB / 0.7524 GB, free: 1.668 MB / 0.6121 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/5.542, allocations: 4.062 kB / 0.7524 GB, free: 1.664 MB / 0.6121 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/5.542, allocations: 3.938 kB / 0.7524 GB, free: 1.66 MB / 0.6121 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001347/5.542, allocations: 89.8 kB / 0.7525 GB, free: 1.547 MB / 0.6121 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002466/5.543, allocations: 476 kB / 0.753 GB, free: 1.051 MB / 0.6121 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/5.543, allocations: 88.95 kB / 0.753 GB, free: 0.9453 MB / 0.6121 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/5.543, allocations: 0 / 0.753 GB, free: 0.9453 MB / 0.6121 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/5.543, allocations: 3.984 kB / 0.753 GB, free: 0.9414 MB / 0.6121 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/5.543, allocations: 4 kB / 0.7531 GB, free: 0.9375 MB / 0.6121 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/5.543, allocations: 3.938 kB / 0.7531 GB, free: 0.9336 MB / 0.6121 GB Notification: Performance of sort global known variables: time 0.0001124/5.543, allocations: 117.4 kB / 0.7532 GB, free: 0.8203 MB / 0.6121 GB Notification: Performance of remove unused functions: time 0.001092/5.544, allocations: 11.91 kB / 0.7532 GB, free: 0.8086 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.0001503/5.544, allocations: 95.25 kB / 0.7533 GB, free: 0.707 MB / 0.6121 GB Notification: Performance of simCode: created initialization part: time 0.0001169/5.544, allocations: 20 kB / 0.7533 GB, free: 0.6875 MB / 0.6121 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.544, allocations: 0 / 0.7533 GB, free: 0.6875 MB / 0.6121 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/5.544, allocations: 7.938 kB / 0.7533 GB, free: 0.6797 MB / 0.6121 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/5.545, allocations: 12.16 kB / 0.7533 GB, free: 0.668 MB / 0.6121 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/5.545, allocations: 117.5 kB / 0.7534 GB, free: 0.5312 MB / 0.6121 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/5.546, allocations: 0.7121 MB / 0.7541 GB, free: 15.8 MB / 0.6277 GB Notification: Performance of SimCode: time 9.32e-07/5.546, allocations: 0 / 0.7541 GB, free: 15.8 MB / 0.6277 GB