Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.002341/0.002341, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5766/0.5766, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.4 MB / 342.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 93.31 kB / 415.5 MB, free: 6.355 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1849/0.1859, allocations: 78.45 MB / 494 MB, free: 7.902 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.6233, allocations: 72.31 MB / 0.553 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.7374, allocations: 100.5 MB / 0.6511 GB, free: 9.582 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.7377, allocations: 79.89 kB / 0.6512 GB, free: 9.504 MB / 474.7 MB 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.003624/0.7413, allocations: 1.205 MB / 0.6523 GB, free: 8.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7414, allocations: 8 kB / 0.6524 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.7414, allocations: 7.906 kB / 0.6524 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.7416, allocations: 173.8 kB / 0.6525 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.7416, allocations: 0.6875 kB / 0.6525 GB, free: 8.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.7416, allocations: 7.844 kB / 0.6525 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/0.7417, allocations: 40.89 kB / 0.6526 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.742, allocations: 157 kB / 0.6527 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.742, allocations: 0.7812 kB / 0.6527 GB, free: 7.836 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.742, allocations: 4 kB / 0.6527 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.7421, allocations: 25.39 kB / 0.6528 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.7429, allocations: 0.8712 MB / 0.6536 GB, free: 6.883 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.743, allocations: 169.7 kB / 0.6538 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.7431, allocations: 82.17 kB / 0.6538 GB, free: 6.625 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.7431, allocations: 75.28 kB / 0.6539 GB, free: 6.551 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.304e-05/0.7432, allocations: 114.6 kB / 0.654 GB, free: 6.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.7432, allocations: 0 / 0.654 GB, free: 6.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001105/0.7433, allocations: 38.64 kB / 0.6541 GB, free: 6.387 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.7435, allocations: 316.4 kB / 0.6544 GB, free: 6.004 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.7437, allocations: 145.9 kB / 0.6545 GB, free: 5.855 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.7437, allocations: 26.2 kB / 0.6545 GB, free: 5.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.7439, allocations: 147.9 kB / 0.6547 GB, free: 5.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-06/0.7439, allocations: 8.719 kB / 0.6547 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.7439, allocations: 0 / 0.6547 GB, free: 5.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7441, allocations: 319.7 kB / 0.655 GB, free: 5.348 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.7441, allocations: 16.38 kB / 0.655 GB, free: 5.332 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.7443, allocations: 218.4 kB / 0.6552 GB, free: 5.031 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.7444, allocations: 58.08 kB / 0.6553 GB, free: 4.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7444, allocations: 0.5 kB / 0.6553 GB, free: 4.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003371/0.7448, allocations: 166.1 kB / 0.6554 GB, free: 4.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7448, allocations: 7.906 kB / 0.6554 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7448, allocations: 9.953 kB / 0.6554 GB, free: 4.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.7449, allocations: 10.78 kB / 0.6554 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.745, allocations: 36.42 kB / 0.6555 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.745, allocations: 8 kB / 0.6555 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7451, allocations: 20.41 kB / 0.6555 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.7451, allocations: 16 kB / 0.6555 GB, free: 4.715 MB / 474.7 MB 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.0001335/0.7453, allocations: 196.1 kB / 0.6557 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.7454, allocations: 112.9 kB / 0.6558 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.7455, allocations: 112.6 kB / 0.6559 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.56e-05/0.7455, allocations: 180.3 kB / 0.6561 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.438e-05/0.7456, allocations: 184.5 kB / 0.6563 GB, free: 3.906 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.796e-05/0.7457, allocations: 184.3 kB / 0.6565 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.746, allocations: 397.8 kB / 0.6568 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.746, allocations: 108.8 kB / 0.6569 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.7461, allocations: 106.3 kB / 0.657 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-05/0.7462, allocations: 180.3 kB / 0.6572 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.7462, allocations: 184.2 kB / 0.6574 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.003e-05/0.7463, allocations: 180.2 kB / 0.6576 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-05/0.7464, allocations: 186.3 kB / 0.6577 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.7466, allocations: 307.7 kB / 0.658 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003305/0.7469, allocations: 0.6799 MB / 0.6587 GB, free: 1.289 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.7471, allocations: 188 kB / 0.6589 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.7472, allocations: 192.1 kB / 0.6591 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.7473, allocations: 105 kB / 0.6592 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.7474, allocations: 184.2 kB / 0.6593 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.7475, allocations: 104.9 kB / 0.6594 GB, free: 488 kB / 474.7 MB Notification: Performance of sort global known variables: time 7.861e-05/0.7475, allocations: 115.2 kB / 0.6595 GB, free: 376 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001069/0.7486, allocations: 24 kB / 0.6596 GB, free: 352 kB / 474.7 MB 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.0002412/0.7489, allocations: 178.5 kB / 0.6597 GB, free: 164 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.749, allocations: 64.61 kB / 0.6598 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.749, allocations: 0 / 0.6598 GB, free: 100 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.749, allocations: 7.938 kB / 0.6598 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.7494, allocations: 0.5263 MB / 0.6603 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.7497, allocations: 181.3 kB / 0.6605 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/0.7501, allocations: 0.7159 MB / 0.6612 GB, free: 14.62 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7501, allocations: 0 / 0.6612 GB, free: 14.62 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)