Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.054/4.054, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5422/4.596, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/4.908, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/5.149, allocations: 123.1 MB / 0.7485 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/5.149, allocations: 83.58 kB / 0.7485 GB, free: 14.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004097/5.153, allocations: 0.9352 MB / 0.7495 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/5.154, allocations: 11.98 kB / 0.7495 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/5.154, allocations: 4 kB / 0.7495 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/5.154, allocations: 163 kB / 0.7496 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/5.154, allocations: 8 kB / 0.7496 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/5.154, allocations: 0 / 0.7496 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.495e-05/5.154, allocations: 4 kB / 0.7496 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.987e-05/5.154, allocations: 37.69 kB / 0.7497 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/5.154, allocations: 3.906 kB / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/5.154, allocations: 0 / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/5.154, allocations: 0 / 0.7497 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/5.154, allocations: 126.2 kB / 0.7498 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/5.154, allocations: 38.55 kB / 0.7498 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/5.154, allocations: 8.922 kB / 0.7498 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005056/5.155, allocations: 405.6 kB / 0.7502 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/5.155, allocations: 34.56 kB / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.617e-06/5.155, allocations: 0 / 0.7503 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000208/5.155, allocations: 41.59 kB / 0.7503 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/5.155, allocations: 59.39 kB / 0.7504 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/5.155, allocations: 85 kB / 0.7504 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/5.155, allocations: 25.7 kB / 0.7505 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/5.155, allocations: 84.14 kB / 0.7506 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/5.155, allocations: 11.84 kB / 0.7506 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/5.155, allocations: 0 / 0.7506 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000133/5.156, allocations: 314.8 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/5.156, allocations: 4 kB / 0.7509 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/5.156, allocations: 3.984 kB / 0.7509 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/5.156, allocations: 11.94 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/5.156, allocations: 3.984 kB / 0.7509 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001332/5.156, allocations: 45.61 kB / 0.7509 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/5.156, allocations: 4 kB / 0.7509 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/5.156, allocations: 0 / 0.7509 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/5.156, allocations: 0 / 0.7509 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/5.156, allocations: 11.98 kB / 0.7509 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004877/5.157, allocations: 0.586 MB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/5.157, allocations: 3.906 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/5.157, allocations: 0 / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/5.157, allocations: 112.9 kB / 0.7516 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/5.157, allocations: 0 / 0.7516 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/5.157, allocations: 45.22 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/5.157, allocations: 0 / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/5.157, allocations: 8.094 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/5.157, allocations: 3.906 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/5.157, allocations: 122.2 kB / 0.7518 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/5.157, allocations: 0 / 0.7518 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/5.157, allocations: 15.98 kB / 0.7518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/5.157, allocations: 0 / 0.7518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/5.157, allocations: 4 kB / 0.7518 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/5.158, allocations: 0.5937 MB / 0.7524 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/5.158, allocations: 0 / 0.7524 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001328/5.158, allocations: 61.12 kB / 0.7525 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003295/5.158, allocations: 450.1 kB / 0.7529 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/5.158, allocations: 77.2 kB / 0.753 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/5.158, allocations: 15.94 kB / 0.753 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/5.158, allocations: 7.844 kB / 0.753 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/5.159, allocations: 0 / 0.753 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/5.159, allocations: 288 / 0.753 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.212e-05/5.159, allocations: 75.28 kB / 0.7531 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001059/5.16, allocations: 12 kB / 0.7531 GB, free: 9.383 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/5.16, allocations: 107.2 kB / 0.7532 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002797/5.16, allocations: 31.97 kB / 0.7532 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.16, allocations: 0 / 0.7532 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/5.16, allocations: 12 kB / 0.7532 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/5.161, allocations: 0 / 0.7532 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/5.161, allocations: 63.8 kB / 0.7533 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/5.161, allocations: 0.6837 MB / 0.7539 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/5.161, allocations: 0 / 0.7539 GB, free: 8.43 MB / 0.6355 GB