Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [: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.11/2.11, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001555/0.001555, allocations: 181.2 kB / 360.4 MB, free: 7.52 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.635/1.635, 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.001155/0.001154, allocations: 89.36 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/7.023e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5166, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.7471, allocations: 164.2 MB / 1.123 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.7475, allocations: 85.36 kB / 1.123 GB, free: 8.43 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.04064/0.7882, allocations: 11.31 MB / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.7882, allocations: 8 kB / 1.134 GB, free: 13.07 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008498/0.7891, allocations: 0.4904 MB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7891, allocations: 8.031 kB / 1.135 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.7901, allocations: 84.67 kB / 1.135 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.7906, allocations: 248.4 kB / 1.135 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7906, allocations: 4 kB / 1.135 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.7907, allocations: 12.94 kB / 1.135 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005124/0.7912, allocations: 192.7 kB / 1.135 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.7918, allocations: 271.5 kB / 1.136 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7919, allocations: 0 / 1.136 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.7919, allocations: 0 / 1.136 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.7919, allocations: 16.42 kB / 1.136 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.7939, allocations: 1.449 MB / 1.137 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.7943, allocations: 100.5 kB / 1.137 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.7944, allocations: 28.86 kB / 1.137 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.7944, allocations: 0 / 1.137 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.7944, allocations: 47.22 kB / 1.137 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.7944, allocations: 3.938 kB / 1.137 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004103/0.7949, allocations: 116.5 kB / 1.137 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.7949, allocations: 55.34 kB / 1.137 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.7951, allocations: 167.2 kB / 1.137 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.7952, allocations: 25.7 kB / 1.138 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.7953, allocations: 163.7 kB / 1.138 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.7953, allocations: 31.55 kB / 1.138 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.7954, allocations: 5.781 kB / 1.138 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7955, allocations: 326.8 kB / 1.138 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.7956, allocations: 35.98 kB / 1.138 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.7958, allocations: 98.98 kB / 1.138 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.7959, allocations: 57.62 kB / 1.138 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.796, allocations: 4 kB / 1.138 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004489/0.7964, allocations: 184.1 kB / 1.138 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7965, allocations: 8 kB / 1.138 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7965, allocations: 0 / 1.138 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.7967, allocations: 28.84 kB / 1.138 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.7969, allocations: 31.92 kB / 1.138 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.7982, allocations: 1.248 MB / 1.14 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.7984, allocations: 25.52 kB / 1.14 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.7984, allocations: 12 kB / 1.14 GB, free: 7.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.7986, allocations: 112.6 kB / 1.14 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.7986, allocations: 15.81 kB / 1.14 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.7987, allocations: 21.39 kB / 1.14 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7987, allocations: 0 / 1.14 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7987, allocations: 4 kB / 1.14 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.7987, allocations: 4 kB / 1.14 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.799, allocations: 218.1 kB / 1.14 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7991, allocations: 0 / 1.14 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.7992, allocations: 11.91 kB / 1.14 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.7993, allocations: 28.78 kB / 1.14 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7994, allocations: 0 / 1.14 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.8004, allocations: 1.247 MB / 1.141 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8005, allocations: 6.281 kB / 1.141 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003258/0.8008, allocations: 224.2 kB / 1.142 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.8009, allocations: 100.9 kB / 1.142 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.801, allocations: 3.938 kB / 1.142 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.8012, allocations: 8 kB / 1.142 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.8012, allocations: 3.984 kB / 1.142 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.8012, allocations: 8 kB / 1.142 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001758/0.8014, allocations: 140 kB / 1.142 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004242/0.8019, allocations: 55.75 kB / 1.142 GB, free: 4.684 MB / 0.7448 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.802, allocations: 95.25 kB / 1.142 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.8025, allocations: 203.1 kB / 1.142 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8025, allocations: 4.062 kB / 1.142 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.8028, allocations: 149.6 kB / 1.142 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.8032, allocations: 25.03 kB / 1.142 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.8038, allocations: 231.7 kB / 1.143 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.8043, allocations: 0.7741 MB / 1.143 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.8043, allocations: 0 / 1.143 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.006531/0.8108, allocations: 1.769 MB / 1.145 GB, free: 1.441 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)