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.IsMonotonic.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.IsMonotonic,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.445/4.445, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.335e-05, allocations: 7.156 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.478, allocations: 123.6 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.4783, allocations: 79.94 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004671/0.483, allocations: 1.168 MB / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4831, allocations: 0 / 0.7508 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4831, allocations: 0 / 0.7508 GB, free: 12.14 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003657/0.4835, allocations: 346.4 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4835, allocations: 12.03 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.4836, allocations: 11.86 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4837, allocations: 163 kB / 0.7513 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4837, allocations: 4 kB / 0.7513 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.4838, allocations: 4 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001414/0.4839, allocations: 32.17 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.4842, allocations: 151.3 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4842, allocations: 4 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.4843, allocations: 0 / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.4843, allocations: 35.91 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.4851, allocations: 0.8676 MB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.4852, allocations: 169.1 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.4853, allocations: 84.12 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.4853, allocations: 79.27 kB / 0.7527 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.4854, allocations: 113.8 kB / 0.7528 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.4854, allocations: 4 kB / 0.7528 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.773e-05/0.4855, allocations: 33.61 kB / 0.7528 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.4857, allocations: 320.3 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.4859, allocations: 147.2 kB / 0.7533 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.4859, allocations: 29.69 kB / 0.7533 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.486, allocations: 147.2 kB / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.486, allocations: 0 / 0.7534 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.4861, allocations: 4 kB / 0.7534 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.4862, allocations: 326.8 kB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.4863, allocations: 24.36 kB / 0.7538 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.4865, allocations: 210 kB / 0.754 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.4867, allocations: 57.28 kB / 0.754 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.4867, allocations: 4 kB / 0.754 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004134/0.4871, allocations: 157.2 kB / 0.7542 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4871, allocations: 8 kB / 0.7542 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4872, allocations: 4 kB / 0.7542 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.4872, allocations: 8 kB / 0.7542 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.4874, allocations: 40.58 kB / 0.7542 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4875, allocations: 12 kB / 0.7543 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.4876, allocations: 19.75 kB / 0.7543 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4877, allocations: 12 kB / 0.7543 GB, free: 8.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001359/0.4878, allocations: 192.1 kB / 0.7545 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000113/0.4879, allocations: 150.5 kB / 0.7546 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.488, allocations: 116.9 kB / 0.7547 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.4881, allocations: 116.7 kB / 0.7548 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.4882, allocations: 184.2 kB / 0.755 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.098e-05/0.4883, allocations: 176.3 kB / 0.7552 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.151e-05/0.4884, allocations: 180.2 kB / 0.7554 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.4887, allocations: 401.7 kB / 0.7557 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.397e-05/0.4887, allocations: 105 kB / 0.7558 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.4888, allocations: 108.9 kB / 0.7559 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.575e-05/0.4888, allocations: 180.3 kB / 0.7561 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.4889, allocations: 176.3 kB / 0.7563 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.489, allocations: 180.2 kB / 0.7565 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.922e-05/0.4891, allocations: 180.3 kB / 0.7566 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.4892, allocations: 319.6 kB / 0.7569 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.4894, allocations: 186.4 kB / 0.7571 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/0.4895, allocations: 180.2 kB / 0.7573 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4896, allocations: 128.9 kB / 0.7574 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.4897, allocations: 176.3 kB / 0.7576 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.4898, allocations: 105 kB / 0.7577 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001217/0.4899, allocations: 111.8 kB / 0.7578 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-07/0.4899, allocations: 0 / 0.7578 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004608/0.4904, allocations: 31.98 kB / 0.7578 GB, free: 4.336 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 (0): * Single equations (assignments): 0 * 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.0006172/0.491, allocations: 0.8166 MB / 0.7586 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.4912, allocations: 67.78 kB / 0.7587 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4913, allocations: 0 / 0.7587 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.4913, allocations: 4 kB / 0.7587 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4917, allocations: 0.5322 MB / 0.7592 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.4923, allocations: 222.2 kB / 0.7594 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.4928, allocations: 0.6929 MB / 0.7601 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.4931, allocations: 56.7 kB / 0.7601 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.4932, allocations: 19.44 kB / 0.7602 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/0.4932, allocations: 0 / 0.7602 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.5437, allocations: 2.482 MB / 0.7626 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/0.5441, allocations: 145.4 kB / 0.7627 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.165, allocations: 0 / 0.7627 GB, free: 15.19 MB / 0.6511 GB