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_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.To_quad,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.495/4.495, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6088/5.104, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/5.344, allocations: 98.72 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/5.621, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/5.621, allocations: 71.59 kB / 0.7489 GB, free: 14.07 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.004506/5.626, allocations: 1.213 MB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/5.626, allocations: 8 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/5.626, allocations: 11.91 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/5.626, allocations: 170.9 kB / 0.7503 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/5.626, allocations: 4 kB / 0.7503 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/5.626, allocations: 7.906 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/5.627, allocations: 32 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/5.627, allocations: 83.33 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/5.627, allocations: 4 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/5.627, allocations: 0 / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/5.627, allocations: 4 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007094/5.628, allocations: 425 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/5.628, allocations: 37.41 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/5.628, allocations: 13.72 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/5.628, allocations: 0 / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/5.628, allocations: 42.47 kB / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/5.628, allocations: 0 / 0.7509 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/5.628, allocations: 45.55 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/5.628, allocations: 81.11 kB / 0.751 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/5.628, allocations: 123.8 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/5.628, allocations: 25.7 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/5.628, allocations: 108 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-06/5.628, allocations: 7.969 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/5.628, allocations: 0 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001147/5.629, allocations: 318.8 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.092e-05/5.629, allocations: 8 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.167e-05/5.629, allocations: 21.92 kB / 0.7516 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/5.629, allocations: 11.91 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/5.629, allocations: 7.938 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/5.629, allocations: 53.64 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/5.629, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/5.629, allocations: 3.906 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/5.629, allocations: 0 / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/5.629, allocations: 11.98 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/5.629, allocations: 0 / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/5.629, allocations: 4 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/5.629, allocations: 4 kB / 0.7517 GB, free: 10.97 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 7.324e-05/5.629, allocations: 104.9 kB / 0.7518 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/5.629, allocations: 11.97 kB / 0.7518 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/5.629, allocations: 11.53 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/5.629, allocations: 7.906 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/5.629, allocations: 0 / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/5.629, allocations: 3.984 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/5.63, allocations: 443.4 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/5.63, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/5.63, allocations: 15.98 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/5.63, allocations: 0 / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/5.63, allocations: 0 / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/5.63, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/5.63, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001615/5.63, allocations: 84.34 kB / 0.7524 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002294/5.63, allocations: 471.9 kB / 0.7528 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/5.631, allocations: 93 kB / 0.7529 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/5.631, allocations: 3.938 kB / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/5.631, allocations: 0 / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/5.631, allocations: 8.062 kB / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/5.631, allocations: 0 / 0.7529 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.815e-05/5.631, allocations: 106.4 kB / 0.753 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00129/5.632, allocations: 11.91 kB / 0.7531 GB, free: 9.488 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.0001617/5.632, allocations: 95.34 kB / 0.7531 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000108/5.632, allocations: 16 kB / 0.7532 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/5.632, allocations: 128 / 0.7532 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/5.632, allocations: 15.94 kB / 0.7532 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/5.633, allocations: 7.938 kB / 0.7532 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/5.633, allocations: 115.9 kB / 0.7533 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/5.633, allocations: 0.7075 MB / 0.754 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/5.633, allocations: 128 / 0.754 GB, free: 8.473 MB / 0.6355 GB