Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_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.369/4.369, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5738/4.943, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/5.169, allocations: 98.72 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.249/5.418, allocations: 123.6 MB / 0.749 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/5.419, allocations: 79.58 kB / 0.7491 GB, free: 13.89 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.003459/5.422, allocations: 0.8028 MB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/5.422, allocations: 12 kB / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.12e-05/5.422, allocations: 0 / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/5.422, allocations: 175 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/5.422, allocations: 0 / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/5.422, allocations: 0 / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.185e-05/5.423, allocations: 8 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/5.423, allocations: 41.67 kB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/5.423, allocations: 3.938 kB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/5.423, allocations: 0 / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/5.423, allocations: 0 / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/5.423, allocations: 253.4 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.198e-05/5.423, allocations: 26.58 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/5.423, allocations: 12.86 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/5.424, allocations: 413.6 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/5.424, allocations: 30.56 kB / 0.7508 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.394e-06/5.424, allocations: 0 / 0.7508 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002542/5.424, allocations: 49.55 kB / 0.7509 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/5.424, allocations: 55.41 kB / 0.7509 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/5.424, allocations: 96.98 kB / 0.751 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/5.425, allocations: 25.7 kB / 0.751 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/5.425, allocations: 80.14 kB / 0.7511 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/5.425, allocations: 11.91 kB / 0.7511 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-06/5.425, allocations: 0 / 0.7511 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001927/5.425, allocations: 310.8 kB / 0.7514 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/5.425, allocations: 8.031 kB / 0.7514 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/5.425, allocations: 8 kB / 0.7514 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.643e-05/5.425, allocations: 3.938 kB / 0.7514 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/5.425, allocations: 0 / 0.7514 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001557/5.425, allocations: 49.59 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/5.425, allocations: 4 kB / 0.7515 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/5.425, allocations: 7.938 kB / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/5.425, allocations: 0 / 0.7515 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/5.425, allocations: 20.27 kB / 0.7515 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/5.425, allocations: 3.984 kB / 0.7515 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/5.426, allocations: 15.94 kB / 0.7515 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/5.426, 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 (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 prepare postOptimizeDAE: time 9.472e-05/5.426, allocations: 109 kB / 0.7516 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/5.426, allocations: 11.91 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/5.426, allocations: 45.31 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/5.426, allocations: 0 / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/5.426, allocations: 4 kB / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/5.426, allocations: 0 / 0.7517 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/5.426, allocations: 138.1 kB / 0.7518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/5.426, allocations: 0 / 0.7518 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/5.426, allocations: 16.02 kB / 0.7518 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/5.426, allocations: 0 / 0.7518 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/5.426, allocations: 4 kB / 0.7518 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/5.426, allocations: 0 / 0.7518 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/5.426, allocations: 3.938 kB / 0.7519 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002032/5.427, allocations: 139.5 kB / 0.752 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003585/5.427, allocations: 0.5116 MB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/5.427, allocations: 77.11 kB / 0.7526 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/5.427, allocations: 0 / 0.7526 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/5.427, allocations: 11.98 kB / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/5.427, allocations: 0 / 0.7526 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/5.427, allocations: 7.938 kB / 0.7526 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.69e-05/5.427, allocations: 87.28 kB / 0.7527 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00128/5.429, allocations: 4 kB / 0.7527 GB, free: 9.84 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 (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.0002757/5.429, allocations: 107.2 kB / 0.7528 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001676/5.429, allocations: 12 kB / 0.7528 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/5.429, allocations: 4 kB / 0.7528 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/5.429, allocations: 8 kB / 0.7528 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/5.43, allocations: 11.19 kB / 0.7528 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/5.43, allocations: 63.78 kB / 0.7529 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/5.431, allocations: 0.6996 MB / 0.7535 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/5.431, allocations: 0 / 0.7535 GB, free: 8.883 MB / 0.6355 GB