Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.6811/0.6811, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 193.2 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 399.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000904/0.0009041, allocations: 85.22 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3106/0.3116, allocations: 82.91 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.495, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5631/1.058, allocations: 101.6 MB / 0.7202 GB, free: 10.76 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003956/1.059, allocations: 79.94 kB / 0.7203 GB, free: 10.68 MB / 490.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.00409/1.063, allocations: 1.279 MB / 0.7215 GB, free: 9.363 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.063, allocations: 8 kB / 0.7215 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/1.063, allocations: 7.906 kB / 0.7215 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/1.063, allocations: 178.9 kB / 0.7217 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.063, allocations: 7.938 kB / 0.7217 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.063, allocations: 0 / 0.7217 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001024/1.063, allocations: 36.17 kB / 0.7217 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/1.063, allocations: 150.4 kB / 0.7219 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.063, allocations: 7.922 kB / 0.7219 GB, free: 8.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/1.063, allocations: 4 kB / 0.7219 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/1.064, allocations: 27.98 kB / 0.7219 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/1.064, allocations: 0.8715 MB / 0.7228 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/1.064, allocations: 165.7 kB / 0.7229 GB, free: 7.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/1.065, allocations: 80.14 kB / 0.723 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/1.065, allocations: 79.27 kB / 0.7231 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/1.065, allocations: 117.8 kB / 0.7232 GB, free: 7.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 3.476e-06/1.065, allocations: 0 / 0.7232 GB, free: 7.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001114/1.065, allocations: 42.3 kB / 0.7232 GB, free: 7.449 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.065, allocations: 312.4 kB / 0.7235 GB, free: 7.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.065, allocations: 149.4 kB / 0.7237 GB, free: 6.918 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.065, allocations: 25.7 kB / 0.7237 GB, free: 6.887 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/1.065, allocations: 151.3 kB / 0.7239 GB, free: 6.734 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/1.065, allocations: 0 / 0.7239 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.065, allocations: 0 / 0.7239 GB, free: 6.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/1.065, allocations: 330.7 kB / 0.7242 GB, free: 6.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/1.065, allocations: 20.36 kB / 0.7242 GB, free: 6.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.066, allocations: 213.9 kB / 0.7244 GB, free: 6.082 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/1.066, allocations: 59.91 kB / 0.7244 GB, free: 6.023 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.066, allocations: 0 / 0.7244 GB, free: 6.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000295/1.066, allocations: 165.2 kB / 0.7246 GB, free: 5.855 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.066, allocations: 4 kB / 0.7246 GB, free: 5.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.066, allocations: 4 kB / 0.7246 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.066, allocations: 9.406 kB / 0.7246 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.066, allocations: 43.92 kB / 0.7247 GB, free: 5.797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.066, allocations: 13.62 kB / 0.7247 GB, free: 5.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.404e-05/1.066, allocations: 23.75 kB / 0.7247 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/1.066, allocations: 11.98 kB / 0.7247 GB, free: 5.75 MB / 490.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.0001374/1.067, allocations: 196.1 kB / 0.7249 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/1.067, allocations: 112.9 kB / 0.725 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/1.067, allocations: 112.6 kB / 0.7251 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/1.067, allocations: 184.3 kB / 0.7253 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/1.067, allocations: 180.5 kB / 0.7255 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/1.067, allocations: 184.2 kB / 0.7256 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/1.067, allocations: 405.7 kB / 0.726 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/1.067, allocations: 101 kB / 0.7261 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/1.067, allocations: 105 kB / 0.7262 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/1.067, allocations: 184.2 kB / 0.7264 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/1.067, allocations: 181.2 kB / 0.7266 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-05/1.068, allocations: 177.1 kB / 0.7267 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.827e-05/1.068, allocations: 184.2 kB / 0.7269 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001649/1.068, allocations: 311.7 kB / 0.7272 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003182/1.068, allocations: 0.6799 MB / 0.7279 GB, free: 2.332 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/1.068, allocations: 190 kB / 0.7281 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/1.068, allocations: 184.2 kB / 0.7282 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.068, allocations: 110 kB / 0.7283 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/1.068, allocations: 180.2 kB / 0.7285 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/1.069, allocations: 101 kB / 0.7286 GB, free: 1.531 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.64e-05/1.069, allocations: 111.8 kB / 0.7287 GB, free: 1.422 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009293/1.07, allocations: 28 kB / 0.7287 GB, free: 1.395 MB / 490.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.0003091/1.07, allocations: 182.5 kB / 0.7289 GB, free: 1.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/1.07, allocations: 71.78 kB / 0.729 GB, free: 1.133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.07, allocations: 4 kB / 0.729 GB, free: 1.129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/1.07, allocations: 0 / 0.729 GB, free: 1.129 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/1.07, allocations: 0.5275 MB / 0.7295 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/1.071, allocations: 170.9 kB / 0.7297 GB, free: 416 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/1.071, allocations: 0.7198 MB / 0.7304 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/1.071, allocations: 0 / 0.7304 GB, free: 15.66 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)