Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.362/3.362, allocations: 248.6 MB / 255.9 MB, free: 332 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002382/0.002382, allocations: 178.5 kB / 315.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.778/2.778, allocations: 205.1 MB / 0.5658 GB, free: 25.43 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001961/0.00196, allocations: 99.58 kB / 0.67 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3568/0.3588, allocations: 112.4 MB / 0.7797 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.9912, allocations: 106.2 MB / 0.8835 GB, free: 77.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2702/1.261, allocations: 130.4 MB / 1.011 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.262, allocations: 75.94 kB / 1.011 GB, free: 10.51 MB / 0.6667 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.007195/1.269, allocations: 1.195 MB / 1.012 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.137e-05/1.269, allocations: 12 kB / 1.012 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.431e-05/1.269, allocations: 11.91 kB / 1.012 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/1.27, allocations: 178.9 kB / 1.012 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.27, allocations: 3.906 kB / 1.012 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.27, allocations: 4 kB / 1.012 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001487/1.27, allocations: 36.17 kB / 1.012 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/1.27, allocations: 155.3 kB / 1.012 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.27, allocations: 4 kB / 1.012 GB, free: 8.809 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/1.27, allocations: 3.984 kB / 1.012 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/1.27, allocations: 27.98 kB / 1.013 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/1.271, allocations: 0.8637 MB / 1.013 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/1.271, allocations: 169.1 kB / 1.014 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/1.271, allocations: 84.14 kB / 1.014 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/1.272, allocations: 75.28 kB / 1.014 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/1.272, allocations: 109.8 kB / 1.014 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 4.117e-06/1.272, allocations: 0 / 1.014 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 0.0001118/1.272, allocations: 52.12 kB / 1.014 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/1.272, allocations: 308.4 kB / 1.014 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/1.272, allocations: 155.6 kB / 1.014 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.272, allocations: 25.7 kB / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.272, allocations: 151.3 kB / 1.014 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-06/1.272, allocations: 3.938 kB / 1.014 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/1.272, allocations: 0 / 1.014 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.272, allocations: 322.8 kB / 1.015 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/1.273, allocations: 24.38 kB / 1.015 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/1.273, allocations: 211.1 kB / 1.015 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/1.273, allocations: 59.89 kB / 1.015 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.273, allocations: 7.844 kB / 1.015 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000433/1.273, allocations: 161.4 kB / 1.015 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.273, allocations: 6.188 kB / 1.015 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.273, allocations: 4 kB / 1.015 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.273, allocations: 11.98 kB / 1.015 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/1.274, allocations: 39.92 kB / 1.015 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.274, allocations: 7.938 kB / 1.015 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/1.274, allocations: 24.28 kB / 1.015 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.274, allocations: 16 kB / 1.015 GB, free: 5.645 MB / 0.6667 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.0001461/1.274, allocations: 192.1 kB / 1.015 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/1.274, allocations: 108.9 kB / 1.016 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.095e-05/1.274, allocations: 120.5 kB / 1.016 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/1.274, allocations: 180.2 kB / 1.016 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001217/1.275, allocations: 184.6 kB / 1.016 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-05/1.275, allocations: 176.3 kB / 1.016 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/1.275, allocations: 411.3 kB / 1.017 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/1.275, allocations: 105 kB / 1.017 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/1.275, allocations: 101 kB / 1.017 GB, free: 4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-05/1.275, allocations: 180.2 kB / 1.017 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/1.275, allocations: 180.3 kB / 1.017 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-05/1.275, allocations: 184.2 kB / 1.017 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.53e-05/1.275, allocations: 180.2 kB / 1.017 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002055/1.276, allocations: 311.7 kB / 1.018 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005974/1.276, allocations: 0.6839 MB / 1.018 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/1.276, allocations: 194 kB / 1.019 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/1.277, allocations: 176.3 kB / 1.019 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.277, allocations: 109 kB / 1.019 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.277, allocations: 184.2 kB / 1.019 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/1.277, allocations: 101 kB / 1.019 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001677/1.277, allocations: 115.6 kB / 1.019 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001355/1.279, allocations: 23.98 kB / 1.019 GB, free: 1.289 MB / 0.6667 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.0003096/1.279, allocations: 184.6 kB / 1.019 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002526/1.279, allocations: 64.23 kB / 1.02 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.279, allocations: 4 kB / 1.02 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/1.279, allocations: 0 / 1.02 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/1.28, allocations: 0.5379 MB / 1.02 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/1.28, allocations: 179.6 kB / 1.02 GB, free: 300 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/1.281, allocations: 0.7198 MB / 1.021 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.924e-06/1.281, allocations: 0 / 1.021 GB, free: 15.55 MB / 0.6823 GB