Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.376/2.376, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001618/0.001617, allocations: 191.4 kB / 360.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 88.61 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3008/0.302, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.9379, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/1.189, allocations: 136.8 MB / 1.096 GB, free: 4.133 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.189, allocations: 72.7 kB / 1.096 GB, free: 4.062 MB / 0.698 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.005374/1.195, allocations: 1.202 MB / 1.098 GB, free: 2.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.195, allocations: 11.25 kB / 1.098 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/1.195, allocations: 9.156 kB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/1.195, allocations: 167 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.195, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.195, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001293/1.195, allocations: 39.45 kB / 1.098 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/1.196, allocations: 157.4 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.196, allocations: 0.6094 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/1.196, allocations: 7.906 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/1.196, allocations: 31.45 kB / 1.098 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/1.197, allocations: 0.8671 MB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/1.197, allocations: 170.1 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/1.197, allocations: 85.95 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/1.197, allocations: 76.25 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/1.197, allocations: 112.3 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/1.197, allocations: 0 / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001068/1.197, allocations: 36.7 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.197, allocations: 321.1 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/1.197, allocations: 149.7 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/1.197, allocations: 29.64 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/1.198, allocations: 144 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-06/1.198, allocations: 12.52 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/1.198, allocations: 0.75 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.198, allocations: 311.6 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/1.198, allocations: 24.36 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.198, allocations: 221.9 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.198, allocations: 59.89 kB / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.198, allocations: 0 / 1.1 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004093/1.199, allocations: 169.6 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.199, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.199, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.199, allocations: 8 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/1.199, allocations: 35.92 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/1.199, allocations: 11.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/1.199, allocations: 19.75 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.199, allocations: 12 kB / 1.101 GB, free: 15.27 MB / 0.7136 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.0001463/1.199, allocations: 200.8 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/1.2, allocations: 121.4 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/1.2, allocations: 109.2 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.041e-05/1.2, allocations: 184.2 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.252e-05/1.2, allocations: 180.5 kB / 1.101 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.807e-05/1.2, allocations: 180.3 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/1.2, allocations: 397.8 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.414e-05/1.2, allocations: 110.3 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/1.2, allocations: 107.2 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.182e-05/1.2, allocations: 181.3 kB / 1.102 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/1.2, allocations: 180.2 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-05/1.2, allocations: 180.3 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.494e-05/1.201, allocations: 180.2 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002786/1.201, allocations: 315.7 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000376/1.201, allocations: 0.68 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.201, allocations: 190 kB / 1.104 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.202, allocations: 180.3 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/1.202, allocations: 106.4 kB / 1.104 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.202, allocations: 184.2 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/1.202, allocations: 105 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000218/1.202, allocations: 116.3 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002673/1.205, allocations: 24 kB / 1.105 GB, free: 10.91 MB / 0.7136 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.0005017/1.206, allocations: 186.5 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003945/1.206, allocations: 60.67 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.206, allocations: 0.5 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/1.206, allocations: 11.94 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/1.207, allocations: 0.5283 MB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/1.207, allocations: 179.7 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/1.208, allocations: 0.7145 MB / 1.106 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of SimCode: time 1.903e-06/1.208, allocations: 0 / 1.106 GB, free: 9.176 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)