Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.486/1.486, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001104/0.001104, allocations: 185.2 kB / 366.3 MB, free: 2.008 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.368/1.368, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0008555/0.0008554, allocations: 84.95 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.602e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6321/0.6321, allocations: 116.3 MB / 0.9725 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9468/1.579, allocations: 367.2 MB / 1.331 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/1.579, allocations: 74.45 kB / 1.331 GB, free: 116.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02431/1.604, allocations: 12.73 MB / 1.344 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.604, allocations: 0 / 1.344 GB, free: 106.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004124/1.604, allocations: 337.6 kB / 1.344 GB, free: 106.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/1.604, allocations: 8.031 kB / 1.344 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.604, allocations: 15.7 kB / 1.344 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/1.604, allocations: 167.6 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/1.604, allocations: 0 / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/1.604, allocations: 8 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.522e-05/1.605, allocations: 15.89 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.627e-05/1.605, allocations: 52.67 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.605, allocations: 3.938 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.605, allocations: 0.6562 kB / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.605, allocations: 0 / 1.344 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/1.605, allocations: 145.3 kB / 1.344 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/1.605, allocations: 32.84 kB / 1.344 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/1.605, allocations: 17.39 kB / 1.344 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006919/1.606, allocations: 0.6079 MB / 1.345 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/1.606, allocations: 30.56 kB / 1.345 GB, free: 105.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/1.606, allocations: 0 / 1.345 GB, free: 105.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0005239/1.606, allocations: 287.5 kB / 1.345 GB, free: 104.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/1.606, allocations: 55.41 kB / 1.345 GB, free: 104.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/1.606, allocations: 91.94 kB / 1.345 GB, free: 104.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/1.606, allocations: 25.7 kB / 1.345 GB, free: 104.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/1.606, allocations: 88.03 kB / 1.346 GB, free: 104.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/1.606, allocations: 27.12 kB / 1.346 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/1.606, allocations: 0 / 1.346 GB, free: 104.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/1.607, allocations: 322 kB / 1.346 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/1.607, allocations: 11.38 kB / 1.346 GB, free: 104.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/1.607, allocations: 53.14 kB / 1.346 GB, free: 104.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/1.607, allocations: 19.53 kB / 1.346 GB, free: 104.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/1.607, allocations: 0 / 1.346 GB, free: 104.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001052/1.607, allocations: 84.41 kB / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.607, allocations: 11.98 kB / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.607, allocations: 0 / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.607, allocations: 4 kB / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/1.607, allocations: 16 kB / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.607, allocations: 0 / 1.346 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/1.607, allocations: 4 kB / 1.346 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/1.607, allocations: 7.688 kB / 1.346 GB, free: 103.9 MB / 0.823 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 6.104e-05/1.607, allocations: 113 kB / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/1.607, allocations: 7.906 kB / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/1.607, allocations: 7.375 kB / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.607, allocations: 0 / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.607, allocations: 0 / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.607, allocations: 3.938 kB / 1.346 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/1.607, allocations: 150.1 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.607, allocations: 3.906 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/1.607, allocations: 12 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.607, allocations: 4 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.607, allocations: 0 / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.607, allocations: 7.984 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.607, allocations: 1.484 kB / 1.346 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000126/1.608, allocations: 169.9 kB / 1.347 GB, free: 103.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/1.608, allocations: 81.05 kB / 1.347 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/1.608, allocations: 11.89 kB / 1.347 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/1.608, allocations: 0 / 1.347 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/1.608, allocations: 4 kB / 1.347 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/1.608, allocations: 4 kB / 1.347 GB, free: 103.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-05/1.608, allocations: 83.27 kB / 1.347 GB, free: 103.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002489/1.608, allocations: 15.81 kB / 1.347 GB, free: 103.2 MB / 0.823 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.0001507/1.608, allocations: 115.6 kB / 1.347 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.117e-05/1.608, allocations: 41.84 kB / 1.347 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.608, allocations: 0 / 1.347 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/1.608, allocations: 18.75 kB / 1.347 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/1.609, allocations: 0 / 1.347 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/1.609, allocations: 257.8 kB / 1.347 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/1.609, allocations: 0.7036 MB / 1.348 GB, free: 102 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/1.609, allocations: 0 / 1.348 GB, free: 102 MB / 0.823 GB Notification: Performance of Templates: time 0.002628/1.612, allocations: 0.8019 MB / 1.349 GB, free: 101.3 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)