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_Btu.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_Btu,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.123/4.123, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5465/4.67, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/4.945, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2674/5.213, allocations: 123.5 MB / 0.7489 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/5.213, allocations: 75.59 kB / 0.749 GB, free: 14.09 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.004533/5.217, allocations: 1.194 MB / 0.7501 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/5.217, allocations: 12 kB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/5.218, allocations: 7.906 kB / 0.7501 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/5.218, allocations: 178.9 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/5.218, allocations: 0 / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/5.218, allocations: 15.89 kB / 0.7503 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001388/5.218, allocations: 35.98 kB / 0.7504 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/5.218, allocations: 79.34 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/5.218, allocations: 4 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/5.218, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/5.218, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/5.219, allocations: 421.2 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/5.219, allocations: 37.31 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/5.219, allocations: 21.72 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/5.219, allocations: 0 / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/5.219, allocations: 38.47 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/5.219, allocations: 0 / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001991/5.219, allocations: 45.61 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/5.219, allocations: 85.03 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/5.22, allocations: 121.2 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/5.22, allocations: 29.7 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/5.22, allocations: 104.1 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/5.22, allocations: 7.906 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/5.22, allocations: 0 / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001498/5.22, allocations: 314.8 kB / 0.7516 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/5.22, allocations: 11.98 kB / 0.7516 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/5.22, allocations: 21.94 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/5.22, allocations: 15.91 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/5.22, allocations: 3.938 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001282/5.22, allocations: 53.58 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/5.22, allocations: 7.984 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/5.22, allocations: 7.906 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/5.22, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/5.22, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/5.22, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/5.22, allocations: 4 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/5.22, allocations: 4.062 kB / 0.7517 GB, free: 10.99 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.961e-05/5.221, allocations: 104.9 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/5.221, allocations: 7.906 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/5.221, allocations: 15.58 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/5.221, allocations: 3.906 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/5.221, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/5.221, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/5.221, allocations: 455.3 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/5.221, allocations: 4 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/5.221, allocations: 0 / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/5.221, allocations: 4 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/5.221, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/5.221, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.221, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/5.221, allocations: 96.31 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002983/5.222, allocations: 467.9 kB / 0.7528 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/5.222, allocations: 93.06 kB / 0.7529 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/5.222, allocations: 4 kB / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/5.222, allocations: 0 / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/5.222, allocations: 0 / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/5.222, allocations: 0 / 0.7529 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.892e-05/5.222, allocations: 106.4 kB / 0.753 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001072/5.223, allocations: 11.91 kB / 0.753 GB, free: 9.516 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.0001374/5.223, allocations: 103.2 kB / 0.7531 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/5.223, allocations: 16 kB / 0.7532 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/5.223, allocations: 4 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/5.223, allocations: 8 kB / 0.7532 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/5.224, allocations: 5.484 kB / 0.7532 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/5.224, allocations: 119.9 kB / 0.7533 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/5.224, allocations: 0.7155 MB / 0.754 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/5.224, allocations: 0 / 0.754 GB, free: 8.488 MB / 0.6355 GB