Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.354/2.354, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.001589, allocations: 185.2 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001287, allocations: 101 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.258e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5671, allocations: 115.2 MB / 0.9628 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.7773, allocations: 136.3 MB / 1.096 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.7776, allocations: 73.8 kB / 1.096 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00359/0.7812, allocations: 0.6398 MB / 1.097 GB, free: 3.758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.7813, allocations: 0 / 1.097 GB, free: 3.758 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002964/0.7816, allocations: 310.5 kB / 1.097 GB, free: 3.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.7816, allocations: 8.031 kB / 1.097 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.7817, allocations: 4 kB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.7818, allocations: 166.8 kB / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7818, allocations: 0.6562 kB / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.7819, allocations: 0 / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.21e-05/0.7819, allocations: 4.5 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.482e-05/0.782, allocations: 39.67 kB / 1.097 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.782, allocations: 0 / 1.097 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.7821, allocations: 0 / 1.097 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7821, allocations: 3.938 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.7822, allocations: 140.5 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.7823, allocations: 28.08 kB / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.7824, allocations: 8.922 kB / 1.097 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.7829, allocations: 406.8 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.7829, allocations: 36.44 kB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.7829, allocations: 0 / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001968/0.7831, allocations: 38.25 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.7832, allocations: 59.84 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.7832, allocations: 85.69 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7832, allocations: 25.7 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.7833, allocations: 80.8 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.7833, allocations: 9.906 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.7833, allocations: 3.938 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7835, allocations: 314.8 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.7835, allocations: 4 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.7835, allocations: 4 kB / 1.098 GB, free: 1.746 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.7836, allocations: 10.2 kB / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7836, allocations: 0 / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001268/0.7837, allocations: 41.69 kB / 1.098 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7837, allocations: 4 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7838, allocations: 0.5938 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7838, allocations: 0.625 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.784, allocations: 8.562 kB / 1.098 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005109/0.7845, allocations: 0.5957 MB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.7846, allocations: 2.312 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7846, allocations: 4.031 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.444e-05/0.7847, allocations: 106.1 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.7847, allocations: 3.906 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.7849, allocations: 52.03 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7849, allocations: 0 / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.785, allocations: 0.7188 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.785, allocations: 0 / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.7851, allocations: 131 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7851, allocations: 1.688 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.7852, allocations: 20.72 kB / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7853, allocations: 0 / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.7853, allocations: 0 / 1.099 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/0.7857, allocations: 0.5942 MB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7857, allocations: 0 / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001337/0.7858, allocations: 71.92 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.7859, allocations: 77.11 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7859, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.72e-05/0.786, allocations: 0.5312 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.786, allocations: 8.562 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.786, allocations: 4 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.816e-05/0.7861, allocations: 79.47 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002773/0.7863, allocations: 4 kB / 1.1 GB, free: 15.82 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001923/0.7865, allocations: 108.7 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.7868, allocations: 25.42 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.7868, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.787, allocations: 16 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.7871, allocations: 5.125 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.7874, allocations: 52.81 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.7876, allocations: 0.6837 MB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/0.7876, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.003245/0.7909, allocations: 0.5222 MB / 1.101 GB, free: 14.39 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)