Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.43/1.43, allocations: 285.5 MB / 292.8 MB, free: 9.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.9 kB / 361.1 MB, free: 356 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008248/0.0008249, allocations: 92.94 kB / 0.7326 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4889/0.4898, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.6878, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5396/1.227, allocations: 136.9 MB / 1.097 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/1.228, allocations: 72.33 kB / 1.098 GB, free: 44.04 MB / 0.7136 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.00268/1.23, allocations: 1.201 MB / 1.099 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/1.23, allocations: 11.09 kB / 1.099 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/1.23, allocations: 7.781 kB / 1.099 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.996e-05/1.231, allocations: 169.1 kB / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/1.231, allocations: 3.875 kB / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-06/1.231, allocations: 0 / 1.099 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.909e-05/1.231, allocations: 33.33 kB / 1.099 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.231, allocations: 162.8 kB / 1.099 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.231, allocations: 0 / 1.099 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.231, allocations: 0 / 1.099 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/1.231, allocations: 26.33 kB / 1.099 GB, free: 43.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/1.231, allocations: 0.8701 MB / 1.1 GB, free: 42.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/1.231, allocations: 169.1 kB / 1.1 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/1.231, allocations: 83.45 kB / 1.1 GB, free: 58.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.231, allocations: 79.03 kB / 1.1 GB, free: 58.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/1.232, allocations: 110.6 kB / 1.1 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/1.232, allocations: 0 / 1.1 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.324e-05/1.232, allocations: 40.83 kB / 1.1 GB, free: 58.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.232, allocations: 321.8 kB / 1.101 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.232, allocations: 147.1 kB / 1.101 GB, free: 57.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.232, allocations: 25.7 kB / 1.101 GB, free: 57.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/1.232, allocations: 150.1 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/1.232, allocations: 7.328 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.232, allocations: 0 / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/1.232, allocations: 317.1 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/1.232, allocations: 25.67 kB / 1.101 GB, free: 57.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/1.232, allocations: 213.5 kB / 1.102 GB, free: 56.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/1.232, allocations: 54.84 kB / 1.102 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.232, allocations: 3.875 kB / 1.102 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002222/1.232, allocations: 169.2 kB / 1.102 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.232, allocations: 7.188 kB / 1.102 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.232, allocations: 3.844 kB / 1.102 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.232, allocations: 7.719 kB / 1.102 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.233, allocations: 40 kB / 1.102 GB, free: 56.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.233, allocations: 11.69 kB / 1.102 GB, free: 56.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/1.233, allocations: 22.19 kB / 1.102 GB, free: 56.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/1.233, allocations: 14.41 kB / 1.102 GB, free: 56.77 MB / 0.7292 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 9.437e-05/1.233, allocations: 200.5 kB / 1.102 GB, free: 56.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/1.233, allocations: 108.6 kB / 1.102 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/1.233, allocations: 110.4 kB / 1.102 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/1.233, allocations: 187.6 kB / 1.102 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-05/1.233, allocations: 180.5 kB / 1.103 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.083e-05/1.233, allocations: 180.3 kB / 1.103 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/1.233, allocations: 404.6 kB / 1.103 GB, free: 55.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/1.233, allocations: 103.3 kB / 1.103 GB, free: 55.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/1.233, allocations: 106.2 kB / 1.103 GB, free: 55.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/1.233, allocations: 180.2 kB / 1.104 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/1.233, allocations: 187 kB / 1.104 GB, free: 54.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.193e-05/1.233, allocations: 178.6 kB / 1.104 GB, free: 54.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.786e-05/1.234, allocations: 180.2 kB / 1.104 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001099/1.234, allocations: 312.7 kB / 1.104 GB, free: 54.13 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002499/1.234, allocations: 0.6815 MB / 1.105 GB, free: 53.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/1.234, allocations: 186 kB / 1.105 GB, free: 53.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/1.234, allocations: 186.5 kB / 1.105 GB, free: 53.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/1.234, allocations: 101 kB / 1.106 GB, free: 52.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/1.234, allocations: 191.4 kB / 1.106 GB, free: 52.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/1.234, allocations: 101 kB / 1.106 GB, free: 52.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.406e-05/1.234, allocations: 111.6 kB / 1.106 GB, free: 52.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008242/1.235, allocations: 33.47 kB / 1.106 GB, free: 52.57 MB / 0.7292 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.0002096/1.235, allocations: 185.1 kB / 1.106 GB, free: 52.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001184/1.235, allocations: 71.73 kB / 1.106 GB, free: 52.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.236, allocations: 0 / 1.106 GB, free: 52.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/1.236, allocations: 0 / 1.106 GB, free: 52.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.236, allocations: 0.5302 MB / 1.107 GB, free: 51.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/1.236, allocations: 179.2 kB / 1.107 GB, free: 51.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/1.236, allocations: 0.7056 MB / 1.108 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.236, allocations: 7.906 kB / 1.108 GB, free: 51.01 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)