Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck") [: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.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001329/0.00133, allocations: 177.3 kB / 361.1 MB, free: 7.09 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.436/1.436, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0009949/0.0009947, allocations: 85.78 kB / 0.7325 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.096e-06, allocations: 0 / 0.851 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6804, allocations: 115.3 MB / 0.9637 GB, free: 77.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7581/1.439, allocations: 366.2 MB / 1.321 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/1.439, allocations: 70.64 kB / 1.321 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02555/1.464, allocations: 12.74 MB / 1.334 GB, free: 221 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.464, allocations: 0 / 1.334 GB, free: 221 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002445/1.465, allocations: 330.4 kB / 1.334 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.465, allocations: 8.031 kB / 1.334 GB, free: 220.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/1.465, allocations: 8.844 kB / 1.334 GB, free: 220.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/1.465, allocations: 178.9 kB / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/1.465, allocations: 0 / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/1.465, allocations: 4 kB / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.338e-05/1.465, allocations: 19.89 kB / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/1.465, allocations: 45.69 kB / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.465, allocations: 0 / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/1.465, allocations: 0 / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.465, allocations: 0 / 1.334 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/1.465, allocations: 134.2 kB / 1.335 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/1.465, allocations: 58.41 kB / 1.335 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/1.465, allocations: 12.86 kB / 1.335 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/1.466, allocations: 0.6066 MB / 1.335 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/1.466, allocations: 31.56 kB / 1.335 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.466, allocations: 4 kB / 1.335 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004688/1.467, allocations: 285.2 kB / 1.335 GB, free: 219 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/1.467, allocations: 51.41 kB / 1.336 GB, free: 219 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.559e-05/1.467, allocations: 93 kB / 1.336 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/1.467, allocations: 25.7 kB / 1.336 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/1.467, allocations: 84.05 kB / 1.336 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/1.467, allocations: 31.55 kB / 1.336 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.467, allocations: 0 / 1.336 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/1.467, allocations: 318.8 kB / 1.336 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/1.467, allocations: 8 kB / 1.336 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/1.467, allocations: 54.12 kB / 1.336 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/1.467, allocations: 23.92 kB / 1.336 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.467, allocations: 1.406 kB / 1.336 GB, free: 218.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.795e-05/1.467, allocations: 77.53 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.467, allocations: 4 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.467, allocations: 0.8594 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.467, allocations: 4 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/1.467, allocations: 27.92 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/1.467, allocations: 0 / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/1.467, allocations: 4.125 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/1.467, allocations: 8 kB / 1.336 GB, free: 218.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.444e-05/1.467, allocations: 104.9 kB / 1.336 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/1.467, allocations: 7.906 kB / 1.336 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/1.467, allocations: 12.05 kB / 1.336 GB, free: 218 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.467, allocations: 0 / 1.336 GB, free: 218 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.467, allocations: 0 / 1.336 GB, free: 218 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.467, allocations: 4 kB / 1.336 GB, free: 218 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/1.468, allocations: 155.1 kB / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.468, allocations: 3.906 kB / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/1.468, allocations: 20 kB / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.468, allocations: 1.562 kB / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.468, allocations: 0 / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.468, allocations: 0 / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.468, allocations: 0 / 1.337 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001179/1.468, allocations: 165.5 kB / 1.337 GB, free: 217.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/1.468, allocations: 85.05 kB / 1.337 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.468, allocations: 3.906 kB / 1.337 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/1.468, allocations: 7.984 kB / 1.337 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/1.468, allocations: 8.375 kB / 1.337 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/1.468, allocations: 0 / 1.337 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.901e-05/1.468, allocations: 83.27 kB / 1.337 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002387/1.468, allocations: 12 kB / 1.337 GB, free: 217.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001428/1.468, allocations: 124.8 kB / 1.337 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/1.469, allocations: 35.94 kB / 1.337 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.469, allocations: 3.984 kB / 1.337 GB, free: 217.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/1.469, allocations: 16 kB / 1.337 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/1.469, allocations: 4.25 kB / 1.337 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/1.469, allocations: 258.2 kB / 1.337 GB, free: 217 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/1.469, allocations: 0.6958 MB / 1.338 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.469, allocations: 0 / 1.338 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002456/1.472, allocations: 0.8099 MB / 1.339 GB, free: 215.5 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)