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.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.171/4.171, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5321/4.704, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/4.949, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/5.255, allocations: 123.9 MB / 0.7493 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/5.255, allocations: 79.59 kB / 0.7494 GB, free: 13.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02544/5.28, allocations: 5.047 MB / 0.7543 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/5.28, allocations: 15.94 kB / 0.7543 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/5.281, allocations: 4 kB / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/5.281, allocations: 170.9 kB / 0.7545 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/5.281, allocations: 0 / 0.7545 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/5.281, allocations: 4 kB / 0.7545 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.528e-05/5.281, allocations: 16 kB / 0.7545 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/5.281, allocations: 41.69 kB / 0.7546 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/5.281, allocations: 0 / 0.7546 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/5.281, allocations: 7.906 kB / 0.7546 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/5.281, allocations: 0 / 0.7546 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/5.281, allocations: 138.2 kB / 0.7547 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/5.281, allocations: 41.64 kB / 0.7547 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/5.281, allocations: 24.86 kB / 0.7548 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009535/5.282, allocations: 461.5 kB / 0.7552 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/5.282, allocations: 34.56 kB / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/5.283, allocations: 0 / 0.7552 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001365/5.284, allocations: 0.5135 MB / 0.7557 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/5.284, allocations: 55.47 kB / 0.7558 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/5.284, allocations: 92.97 kB / 0.7559 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/5.284, allocations: 29.64 kB / 0.7559 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/5.284, allocations: 88.14 kB / 0.756 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/5.284, allocations: 39.39 kB / 0.756 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/5.284, allocations: 0 / 0.756 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/5.284, allocations: 322.8 kB / 0.7563 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/5.284, allocations: 20.09 kB / 0.7564 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/5.284, allocations: 19.94 kB / 0.7564 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/5.285, allocations: 19.98 kB / 0.7564 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/5.285, allocations: 0 / 0.7564 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002797/5.285, allocations: 81.69 kB / 0.7565 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/5.285, allocations: 8 kB / 0.7565 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/5.285, allocations: 4 kB / 0.7565 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/5.285, allocations: 7.906 kB / 0.7565 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/5.285, allocations: 27.92 kB / 0.7565 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/5.285, allocations: 4.062 kB / 0.7565 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/5.285, allocations: 0 / 0.7565 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/5.285, allocations: 4 kB / 0.7565 GB, free: 5.93 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 (13): * Single equations (assignments): 13 * 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.059e-05/5.285, allocations: 104.9 kB / 0.7566 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/5.285, allocations: 11.89 kB / 0.7566 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/5.286, allocations: 97.73 kB / 0.7567 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/5.286, allocations: 0 / 0.7567 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/5.286, allocations: 0 / 0.7567 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/5.286, allocations: 3.938 kB / 0.7567 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/5.286, allocations: 323 kB / 0.757 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/5.287, allocations: 0 / 0.757 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/5.287, allocations: 19.98 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/5.287, allocations: 0 / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/5.287, allocations: 4 kB / 0.7571 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/5.287, allocations: 7.938 kB / 0.7571 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/5.287, allocations: 3.938 kB / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004222/5.287, allocations: 211.3 kB / 0.7573 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000586/5.288, allocations: 0.6057 MB / 0.7579 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/5.288, allocations: 85.22 kB / 0.758 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/5.288, allocations: 7.906 kB / 0.758 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/5.288, allocations: 0 / 0.758 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/5.288, allocations: 7.984 kB / 0.758 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/5.288, allocations: 8 kB / 0.758 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.744e-05/5.288, allocations: 79.22 kB / 0.758 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001266/5.29, allocations: 51.92 kB / 0.7581 GB, free: 4.203 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004101/5.29, allocations: 159.1 kB / 0.7582 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002196/5.29, allocations: 56.16 kB / 0.7583 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/5.29, allocations: 3.938 kB / 0.7583 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/5.29, allocations: 28 kB / 0.7583 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/5.291, allocations: 10.22 kB / 0.7583 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/5.291, allocations: 124.2 kB / 0.7585 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/5.291, allocations: 0.7036 MB / 0.7591 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/5.291, allocations: 0 / 0.7591 GB, free: 3.07 MB / 0.6355 GB