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.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_RegNonZeroPower",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.223/4.223, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5292/4.753, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/4.993, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/5.259, allocations: 124.3 MB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004292/5.26, allocations: 71.61 kB / 0.7497 GB, free: 13.26 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.02525/5.285, allocations: 4.326 MB / 0.754 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/5.285, allocations: 8 kB / 0.754 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/5.285, allocations: 4 kB / 0.754 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/5.285, allocations: 166.9 kB / 0.7541 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/5.285, allocations: 0 / 0.7541 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/5.285, allocations: 4 kB / 0.7541 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.673e-05/5.286, allocations: 11.98 kB / 0.7542 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.231e-05/5.286, allocations: 45.64 kB / 0.7542 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/5.286, allocations: 0 / 0.7542 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/5.286, allocations: 0 / 0.7542 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/5.286, allocations: 0 / 0.7542 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/5.286, allocations: 249.4 kB / 0.7544 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.564e-05/5.286, allocations: 26.58 kB / 0.7545 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/5.286, allocations: 12.92 kB / 0.7545 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009855/5.287, allocations: 461.5 kB / 0.7549 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/5.287, allocations: 38.55 kB / 0.7549 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/5.287, allocations: 0 / 0.7549 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000241/5.288, allocations: 45.55 kB / 0.755 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/5.288, allocations: 51.41 kB / 0.755 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/5.288, allocations: 105 kB / 0.7551 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/5.288, allocations: 29.64 kB / 0.7552 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/5.288, allocations: 80.14 kB / 0.7552 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/5.288, allocations: 7.906 kB / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/5.288, allocations: 4.031 kB / 0.7553 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001157/5.288, allocations: 314.8 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/5.288, allocations: 4 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/5.288, allocations: 7.984 kB / 0.7556 GB, free: 7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/5.288, allocations: 4 kB / 0.7556 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.288, allocations: 0 / 0.7556 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/5.288, allocations: 49.55 kB / 0.7556 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/5.288, allocations: 4 kB / 0.7556 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/5.288, allocations: 4.094 kB / 0.7556 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/5.288, allocations: 7.938 kB / 0.7556 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/5.289, allocations: 11.98 kB / 0.7556 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/5.289, allocations: 0 / 0.7556 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/5.289, allocations: 12.23 kB / 0.7557 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/5.289, allocations: 8 kB / 0.7557 GB, free: 6.895 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 0.0001196/5.289, allocations: 101 kB / 0.7558 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/5.289, allocations: 7.906 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/5.289, allocations: 49.31 kB / 0.7558 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/5.289, allocations: 0 / 0.7558 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/5.289, allocations: 0 / 0.7558 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/5.289, allocations: 4 kB / 0.7558 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/5.289, allocations: 138.1 kB / 0.756 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/5.289, allocations: 3.984 kB / 0.756 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/5.29, allocations: 12.03 kB / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/5.29, allocations: 0 / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/5.29, allocations: 0 / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/5.29, allocations: 7.938 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/5.29, allocations: 0 / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001969/5.29, allocations: 143.5 kB / 0.7561 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003248/5.29, allocations: 0.5077 MB / 0.7566 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/5.29, allocations: 77.11 kB / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/5.29, allocations: 0 / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/5.29, allocations: 16.05 kB / 0.7567 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/5.29, allocations: 0 / 0.7567 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/5.29, allocations: 7.906 kB / 0.7567 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.59e-05/5.291, allocations: 87.22 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001131/5.292, allocations: 19.92 kB / 0.7568 GB, free: 5.621 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.0002198/5.292, allocations: 111.2 kB / 0.7569 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000111/5.292, allocations: 16 kB / 0.7569 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/5.292, allocations: 4.062 kB / 0.7569 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/5.292, allocations: 11.94 kB / 0.7569 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/5.292, allocations: 0 / 0.7569 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/5.293, allocations: 75.72 kB / 0.757 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/5.293, allocations: 0.6919 MB / 0.7577 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/5.293, allocations: 0 / 0.7577 GB, free: 4.656 MB / 0.6355 GB