Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.209/2.209, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001684/0.001683, allocations: 177.3 kB / 360.4 MB, free: 7.492 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.77/1.77, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001214/0.001213, allocations: 92.75 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.284e-05/1.295e-05, allocations: 0 / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6244, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.8407, allocations: 137.9 MB / 1.097 GB, free: 2.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.8411, allocations: 78.03 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01507/0.8562, allocations: 2.868 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.8562, allocations: 4 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00062/0.8568, allocations: 386.2 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.8569, allocations: 8.031 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.8585, allocations: 107.7 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.8587, allocations: 174.2 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.8587, allocations: 4.562 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.8588, allocations: 4 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002775/0.859, allocations: 71.91 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.8593, allocations: 91.34 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8594, allocations: 7.312 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.8594, allocations: 4.562 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8594, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.8612, allocations: 430 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.8614, allocations: 66.56 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.8615, allocations: 33.69 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.8616, allocations: 3.906 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.8616, allocations: 30.56 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.983e-06/0.8616, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003857/0.862, allocations: 93.52 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.8621, allocations: 51.41 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.8622, allocations: 117 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.8623, allocations: 25.7 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.8624, allocations: 107.8 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.8625, allocations: 23.73 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.8625, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8626, allocations: 310.8 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.8628, allocations: 27.98 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.8629, allocations: 26.53 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.863, allocations: 23.98 kB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.863, allocations: 4 kB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003511/0.8634, allocations: 93.56 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.8634, allocations: 96.91 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8635, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8635, allocations: 0.8906 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.8641, allocations: 55.88 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.8641, allocations: 2.5 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.8647, allocations: 33.84 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.8647, allocations: 4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.8647, allocations: 4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000128/0.8649, allocations: 27.98 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-06/0.8649, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.8649, allocations: 11.91 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.8651, allocations: 15.98 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.8651, allocations: 4 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.8652, allocations: 7.984 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.8652, allocations: 8 kB / 1.103 GB, free: 13.12 MB / 0.7136 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 (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 prepare postOptimizeDAE: time 0.0001143/0.8654, allocations: 108.7 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.8654, allocations: 7.906 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.104e-05/0.8655, allocations: 12.06 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.8655, allocations: 4.469 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8656, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8656, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007057/0.8663, allocations: 376.6 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8663, allocations: 1.125 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.8669, allocations: 50.06 kB / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/0.8669, allocations: 0 / 1.103 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.8669, allocations: 3.938 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.867, allocations: 4 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.867, allocations: 3.984 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000395/0.8674, allocations: 229.2 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.8675, allocations: 93 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.8676, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.8681, allocations: 31.97 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.8682, allocations: 7.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.8682, allocations: 1.125 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.624e-05/0.8683, allocations: 105.5 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004635/0.8688, allocations: 35.84 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000172/0.869, allocations: 95.25 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.8693, allocations: 87.91 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8693, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.8695, allocations: 31.92 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8697, allocations: 8 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.8711, allocations: 182.1 kB / 1.104 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.8716, allocations: 0.7253 MB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/0.8716, allocations: 0 / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.005506/0.8771, allocations: 1.447 MB / 1.106 GB, free: 9.355 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)