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"}) [: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 3.962/3.962, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5492/4.511, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/4.748, allocations: 98.72 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/5.004, allocations: 123.5 MB / 0.7489 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/5.005, allocations: 75.59 kB / 0.749 GB, free: 14.02 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.00527/5.01, allocations: 1.205 MB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/5.01, allocations: 8 kB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/5.01, allocations: 7.906 kB / 0.7502 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/5.01, allocations: 174.9 kB / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/5.01, allocations: 0 / 0.7503 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/5.01, allocations: 7.938 kB / 0.7503 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/5.01, allocations: 40.11 kB / 0.7504 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/5.011, allocations: 151.4 kB / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/5.011, allocations: 0 / 0.7505 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/5.011, allocations: 4 kB / 0.7505 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/5.011, allocations: 23.92 kB / 0.7505 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/5.012, allocations: 0.8676 MB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/5.012, allocations: 173.1 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/5.012, allocations: 84.12 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/5.012, allocations: 75.28 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/5.012, allocations: 109.8 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.334e-06/5.012, allocations: 4 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001096/5.012, allocations: 37.59 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/5.012, allocations: 316.4 kB / 0.7522 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/5.012, allocations: 152.8 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/5.013, allocations: 25.7 kB / 0.7523 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/5.013, allocations: 151.3 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.152e-06/5.013, allocations: 4 kB / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/5.013, allocations: 0 / 0.7525 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001243/5.013, allocations: 326.7 kB / 0.7528 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/5.013, allocations: 20.38 kB / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/5.013, allocations: 211.8 kB / 0.753 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/5.013, allocations: 61.14 kB / 0.7531 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/5.013, allocations: 4 kB / 0.7531 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004059/5.014, allocations: 161.2 kB / 0.7532 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/5.014, allocations: 8 kB / 0.7532 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/5.014, allocations: 4 kB / 0.7532 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/5.014, allocations: 4.656 kB / 0.7532 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/5.014, allocations: 43.92 kB / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/5.014, allocations: 11.98 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/5.014, allocations: 19.75 kB / 0.7533 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/5.014, allocations: 12 kB / 0.7533 GB, free: 9.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.0001364/5.014, allocations: 196.1 kB / 0.7535 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/5.014, allocations: 108.9 kB / 0.7536 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/5.015, allocations: 116.3 kB / 0.7537 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/5.015, allocations: 188.3 kB / 0.7539 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.942e-05/5.015, allocations: 184.2 kB / 0.7541 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/5.015, allocations: 176.3 kB / 0.7543 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/5.015, allocations: 413.6 kB / 0.7546 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/5.015, allocations: 101 kB / 0.7547 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/5.015, allocations: 101.1 kB / 0.7548 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/5.015, allocations: 184.2 kB / 0.755 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/5.015, allocations: 188.2 kB / 0.7552 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.614e-05/5.016, allocations: 176.3 kB / 0.7554 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.948e-05/5.016, allocations: 184.2 kB / 0.7555 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002543/5.016, allocations: 308 kB / 0.7558 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003115/5.016, allocations: 0.6836 MB / 0.7565 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/5.016, allocations: 186 kB / 0.7567 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/5.016, allocations: 184.2 kB / 0.7569 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/5.017, allocations: 113 kB / 0.757 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/5.017, allocations: 176.3 kB / 0.7571 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/5.017, allocations: 108.9 kB / 0.7572 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000145/5.017, allocations: 115.8 kB / 0.7573 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00128/5.018, allocations: 24 kB / 0.7574 GB, free: 4.785 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.0002724/5.018, allocations: 190.5 kB / 0.7575 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000215/5.019, allocations: 59.86 kB / 0.7576 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/5.019, allocations: 7.938 kB / 0.7576 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-06/5.019, allocations: 0 / 0.7576 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/5.019, allocations: 0.5314 MB / 0.7581 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/5.02, allocations: 178.8 kB / 0.7583 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/5.02, allocations: 0.7159 MB / 0.759 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/5.02, allocations: 0 / 0.759 GB, free: 3.047 MB / 0.6355 GB