Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.891/1.891, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 186.4 kB / 490.8 MB, free: 1.859 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 105.7 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4346/0.4356, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.6263, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/1.151, allocations: 149 MB / 1.357 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/1.151, allocations: 71.45 kB / 1.357 GB, free: 17.48 MB / 0.823 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.002931/1.154, allocations: 1.205 MB / 1.358 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/1.154, allocations: 12.91 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/1.154, allocations: 8.219 kB / 1.358 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.609e-05/1.154, allocations: 169 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/1.154, allocations: 1.844 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/1.154, allocations: 1.062 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.929e-05/1.154, allocations: 35.12 kB / 1.359 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/1.154, allocations: 159 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/1.154, allocations: 0 / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/1.154, allocations: 1.562 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/1.154, allocations: 26.81 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/1.155, allocations: 0.8704 MB / 1.36 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/1.155, allocations: 170.7 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/1.155, allocations: 80.14 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/1.155, allocations: 83.03 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.155, allocations: 111.4 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/1.155, allocations: 0 / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.567e-05/1.155, allocations: 36.05 kB / 1.36 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.155, allocations: 322.2 kB / 1.36 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/1.155, allocations: 146.9 kB / 1.361 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/1.155, allocations: 26.83 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/1.155, allocations: 154.4 kB / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/1.155, allocations: 1.844 kB / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.155, allocations: 0 / 1.361 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.155, allocations: 319.6 kB / 1.361 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/1.156, allocations: 22.47 kB / 1.361 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/1.156, allocations: 218.7 kB / 1.361 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/1.156, allocations: 52.41 kB / 1.361 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.156, allocations: 1.969 kB / 1.361 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002526/1.156, allocations: 164.6 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.156, allocations: 4.844 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.156, allocations: 8.906 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.156, allocations: 11.27 kB / 1.361 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.156, allocations: 41.69 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.156, allocations: 8.453 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/1.156, allocations: 21.44 kB / 1.362 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/1.156, allocations: 9.531 kB / 1.362 GB, free: 30.19 MB / 0.8386 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.761e-05/1.156, allocations: 191.6 kB / 1.362 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/1.156, allocations: 118.3 kB / 1.362 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/1.156, allocations: 123.6 kB / 1.362 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.497e-05/1.157, allocations: 180.7 kB / 1.362 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.672e-05/1.157, allocations: 182.7 kB / 1.362 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-05/1.157, allocations: 179.8 kB / 1.363 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/1.157, allocations: 401.3 kB / 1.363 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.157, allocations: 111 kB / 1.363 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/1.157, allocations: 104.1 kB / 1.363 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.993e-05/1.157, allocations: 181.2 kB / 1.363 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/1.157, allocations: 182.1 kB / 1.363 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.976e-05/1.157, allocations: 181 kB / 1.364 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.192e-05/1.157, allocations: 177.9 kB / 1.364 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.988e-05/1.157, allocations: 321.5 kB / 1.364 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002044/1.157, allocations: 0.6753 MB / 1.365 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/1.157, allocations: 194.8 kB / 1.365 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/1.158, allocations: 187 kB / 1.365 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/1.158, allocations: 103.5 kB / 1.365 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/1.158, allocations: 177.8 kB / 1.365 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/1.158, allocations: 106.6 kB / 1.365 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.464e-05/1.158, allocations: 111.4 kB / 1.366 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000942/1.159, allocations: 24.66 kB / 1.366 GB, free: 25.98 MB / 0.8386 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.0001781/1.159, allocations: 192.6 kB / 1.366 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001117/1.159, allocations: 62.38 kB / 1.366 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.159, allocations: 2.406 kB / 1.366 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/1.159, allocations: 5.797 kB / 1.366 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/1.159, allocations: 0.5308 MB / 1.366 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/1.16, allocations: 181.2 kB / 1.367 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/1.16, allocations: 0.7146 MB / 1.367 GB, free: 24.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.16, allocations: 0 / 1.367 GB, free: 24.42 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)