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_inH2O.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_inH2O,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.309/4.309, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5554/4.865, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/5.095, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/5.356, allocations: 123.5 MB / 0.7489 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/5.356, allocations: 63.61 kB / 0.7489 GB, free: 14.1 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.004946/5.361, allocations: 1.207 MB / 0.7501 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/5.361, allocations: 12 kB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/5.361, allocations: 7.906 kB / 0.7501 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/5.361, allocations: 182.9 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/5.361, allocations: 0 / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/5.361, allocations: 7.906 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/5.361, allocations: 32 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/5.362, allocations: 83.33 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/5.362, allocations: 0 / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/5.362, allocations: 4 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/5.362, allocations: 4 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/5.362, allocations: 421.1 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/5.363, allocations: 45.34 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/5.363, allocations: 13.78 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/5.363, allocations: 0 / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/5.363, allocations: 42.45 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/5.363, allocations: 0 / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/5.363, allocations: 45.61 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/5.363, allocations: 81.11 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/5.363, allocations: 124.3 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/5.363, allocations: 25.7 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/5.363, allocations: 104.1 kB / 0.7513 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/5.363, allocations: 11.91 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/5.363, allocations: 0 / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001386/5.363, allocations: 314.8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/5.364, allocations: 8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/5.364, allocations: 21.94 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/5.364, allocations: 15.91 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/5.364, allocations: 3.938 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001404/5.364, allocations: 53.62 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/5.364, allocations: 4 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/5.364, allocations: 3.906 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/5.364, allocations: 4 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/5.364, allocations: 8.062 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/5.364, allocations: 0 / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/5.364, allocations: 4 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/5.364, allocations: 0 / 0.7517 GB, free: 11.01 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 8.331e-05/5.364, allocations: 108.9 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/5.364, allocations: 7.906 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/5.364, allocations: 15.53 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/5.364, allocations: 3.906 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/5.364, allocations: 0 / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/5.364, allocations: 4 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/5.365, allocations: 447.4 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/5.365, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/5.365, allocations: 7.938 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/5.365, allocations: 96 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/5.365, allocations: 7.984 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/5.365, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.365, allocations: 4.062 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001365/5.365, allocations: 84.33 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003205/5.366, allocations: 475.9 kB / 0.7528 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/5.366, allocations: 89.02 kB / 0.7529 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/5.366, allocations: 3.938 kB / 0.7529 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/5.366, allocations: 7.984 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/5.366, allocations: 0 / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/5.366, allocations: 0 / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001122/5.366, allocations: 99.28 kB / 0.753 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001069/5.367, allocations: 15.94 kB / 0.7531 GB, free: 9.52 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.0001835/5.367, allocations: 103.2 kB / 0.7531 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001317/5.367, allocations: 12 kB / 0.7532 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/5.367, allocations: 0 / 0.7532 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/5.367, allocations: 15.94 kB / 0.7532 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/5.368, allocations: 3.938 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/5.368, allocations: 120.2 kB / 0.7533 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/5.369, allocations: 0.7075 MB / 0.754 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/5.369, allocations: 0 / 0.754 GB, free: 8.5 MB / 0.6355 GB