Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001224/0.001223, allocations: 176.2 kB / 366.3 MB, free: 1.965 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.385/1.385, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.001113/0.001113, allocations: 95.89 kB / 0.7395 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.002e-05, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6868, allocations: 116.3 MB / 0.9726 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.873, allocations: 139.1 MB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.8733, allocations: 79.16 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008885/0.8822, allocations: 2.861 MB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.8823, allocations: 0 / 1.111 GB, free: 8.5 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.0004754/0.8828, allocations: 394.3 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.8828, allocations: 8.031 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008486/0.8837, allocations: 114.4 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.8838, allocations: 167.1 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.8839, allocations: 3.906 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.8839, allocations: 8 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/0.8841, allocations: 62.11 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.8843, allocations: 101.6 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8843, allocations: 4 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.8843, allocations: 0 / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8843, allocations: 0 / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.8854, allocations: 428.8 kB / 1.112 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.8855, allocations: 66.55 kB / 1.113 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.8856, allocations: 28.98 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.8856, allocations: 160 / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.8857, allocations: 38.47 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.8857, allocations: 2.531 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002512/0.8859, allocations: 85.56 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.886, allocations: 55.41 kB / 1.113 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.8861, allocations: 123.7 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.8861, allocations: 25.7 kB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.8862, allocations: 103.9 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.8862, allocations: 15.75 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-06/0.8862, allocations: 3.938 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8863, allocations: 318.8 kB / 1.113 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.8864, allocations: 24 kB / 1.113 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.8864, allocations: 31.98 kB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.8865, allocations: 23.98 kB / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8865, allocations: 0 / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000182/0.8867, allocations: 101.5 kB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.8868, allocations: 92.91 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8868, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.8868, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.8872, allocations: 47.95 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8872, allocations: 5.812 kB / 1.114 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.8875, allocations: 31.97 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8875, allocations: 7.984 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.8875, allocations: 5.875 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.844e-05/0.8876, allocations: 29.55 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.72e-07/0.8876, allocations: 4 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-06/0.8876, allocations: 0 / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.8877, allocations: 27.89 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-06/0.8877, allocations: 0 / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.8878, allocations: 8.938 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.8878, allocations: 4 kB / 1.114 GB, free: 5.762 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 7.987e-05/0.8879, allocations: 101 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.8879, allocations: 11.84 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/0.888, allocations: 16.05 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.888, allocations: 0 / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.888, allocations: 7.906 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.888, allocations: 0 / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.8884, allocations: 364.6 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8885, allocations: 1.625 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.8888, allocations: 49.61 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.8888, allocations: 0 / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.8888, allocations: 7.984 kB / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8888, allocations: 0 / 1.114 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8888, allocations: 3.938 kB / 1.114 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002277/0.8891, allocations: 224.5 kB / 1.114 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.8891, allocations: 100.9 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.8892, allocations: 4 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.8895, allocations: 33.45 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.8895, allocations: 3.984 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.8895, allocations: 7.984 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.065e-05/0.8896, allocations: 99.28 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003037/0.8899, allocations: 31.84 kB / 1.115 GB, free: 4.605 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.0001381/0.8901, allocations: 103.2 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.8903, allocations: 79.91 kB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8903, allocations: 0 / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.8904, allocations: 35.98 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.8906, allocations: 1.891 kB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.8913, allocations: 197 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.8917, allocations: 0.72 MB / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.8917, allocations: 0 / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.003853/0.8956, allocations: 1.442 MB / 1.117 GB, free: 2.004 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)