Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.896/1.896, allocations: 387.2 MB / 394.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 187.9 kB / 487 MB, free: 7.828 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 221.3 MB / 0.7819 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 89.06 kB / 0.9213 GB, free: 64.94 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.23/0.2309, allocations: 148.5 MB / 1.066 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.4799, allocations: 142.3 MB / 1.205 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5711/1.051, allocations: 148.2 MB / 1.35 GB, free: 57.9 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/1.051, allocations: 75.95 kB / 1.35 GB, free: 57.83 MB / 0.8731 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.002924/1.054, allocations: 1.197 MB / 1.351 GB, free: 56.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.054, allocations: 9 kB / 1.351 GB, free: 56.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/1.054, allocations: 9.938 kB / 1.351 GB, free: 56.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.687e-05/1.054, allocations: 175.4 kB / 1.351 GB, free: 56.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.054, allocations: 5.688 kB / 1.351 GB, free: 56.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/1.054, allocations: 0 / 1.351 GB, free: 56.39 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.204e-05/1.054, allocations: 36.17 kB / 1.351 GB, free: 56.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/1.055, allocations: 160.2 kB / 1.352 GB, free: 56.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/1.055, allocations: 0 / 1.352 GB, free: 56.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.055, allocations: 0 / 1.352 GB, free: 56.17 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/1.055, allocations: 27.89 kB / 1.352 GB, free: 56.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/1.055, allocations: 0.866 MB / 1.353 GB, free: 55.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.213e-05/1.055, allocations: 170.7 kB / 1.353 GB, free: 55.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/1.055, allocations: 84.86 kB / 1.353 GB, free: 54.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/1.055, allocations: 80.38 kB / 1.353 GB, free: 54.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.055, allocations: 111.3 kB / 1.353 GB, free: 54.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.055, allocations: 0.5312 kB / 1.353 GB, free: 54.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.019e-05/1.055, allocations: 38.56 kB / 1.353 GB, free: 54.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.055, allocations: 316.4 kB / 1.353 GB, free: 54.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/1.056, allocations: 147.5 kB / 1.353 GB, free: 54.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/1.056, allocations: 25.7 kB / 1.353 GB, free: 54.16 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/1.056, allocations: 147.9 kB / 1.354 GB, free: 54.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/1.056, allocations: 7.469 kB / 1.354 GB, free: 54.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.056, allocations: 0.6562 kB / 1.354 GB, free: 54.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/1.056, allocations: 320.6 kB / 1.354 GB, free: 53.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/1.056, allocations: 24.31 kB / 1.354 GB, free: 53.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/1.056, allocations: 213.1 kB / 1.354 GB, free: 53.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.906e-05/1.056, allocations: 69.27 kB / 1.354 GB, free: 53.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.056, allocations: 0 / 1.354 GB, free: 53.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002214/1.056, allocations: 159.7 kB / 1.354 GB, free: 53.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.056, allocations: 8 kB / 1.354 GB, free: 53.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.056, allocations: 4 kB / 1.354 GB, free: 53.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.056, allocations: 15.25 kB / 1.354 GB, free: 53.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/1.056, allocations: 37.09 kB / 1.354 GB, free: 53.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.056, allocations: 12.58 kB / 1.354 GB, free: 53.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/1.056, allocations: 23.75 kB / 1.354 GB, free: 53.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/1.056, allocations: 12 kB / 1.354 GB, free: 53.04 MB / 0.8731 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 6.474e-05/1.056, allocations: 192.1 kB / 1.355 GB, free: 52.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/1.057, allocations: 116.8 kB / 1.355 GB, free: 52.72 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/1.057, allocations: 120.2 kB / 1.355 GB, free: 52.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.057, allocations: 176.3 kB / 1.355 GB, free: 52.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/1.057, allocations: 184.5 kB / 1.355 GB, free: 52.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.057, allocations: 180.3 kB / 1.355 GB, free: 52.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/1.057, allocations: 403.4 kB / 1.356 GB, free: 51.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.057, allocations: 104.9 kB / 1.356 GB, free: 51.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/1.057, allocations: 101 kB / 1.356 GB, free: 51.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/1.057, allocations: 180.3 kB / 1.356 GB, free: 51.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/1.057, allocations: 184.2 kB / 1.356 GB, free: 51.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.618e-05/1.057, allocations: 188.2 kB / 1.356 GB, free: 50.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-05/1.057, allocations: 176.3 kB / 1.357 GB, free: 50.66 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.507e-05/1.057, allocations: 311.6 kB / 1.357 GB, free: 50.33 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001059/1.057, allocations: 0.6839 MB / 1.358 GB, free: 49.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/1.057, allocations: 187.3 kB / 1.358 GB, free: 49.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/1.057, allocations: 180.3 kB / 1.358 GB, free: 49.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/1.057, allocations: 108.9 kB / 1.358 GB, free: 49.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/1.057, allocations: 190.5 kB / 1.358 GB, free: 48.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/1.057, allocations: 101 kB / 1.358 GB, free: 48.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.568e-05/1.057, allocations: 107.8 kB / 1.358 GB, free: 48.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008996/1.058, allocations: 27.89 kB / 1.358 GB, free: 48.68 MB / 0.8731 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.00015/1.059, allocations: 190.5 kB / 1.359 GB, free: 48.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001054/1.059, allocations: 63.98 kB / 1.359 GB, free: 48.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.059, allocations: 4 kB / 1.359 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/1.059, allocations: 0 / 1.359 GB, free: 48.42 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.059, allocations: 0.5274 MB / 1.359 GB, free: 47.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/1.059, allocations: 181.9 kB / 1.359 GB, free: 47.69 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.059, allocations: 0.7133 MB / 1.36 GB, free: 46.95 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.059, allocations: 0 / 1.36 GB, free: 46.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)