Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [: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.087/2.087, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001588/0.001588, allocations: 181.3 kB / 360.4 MB, free: 7.531 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.582/1.582, allocations: 205.2 MB / 0.6188 GB, free: 13.17 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.001218/0.001218, allocations: 85.72 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.685e-06, allocations: 0 / 0.8502 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5372, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2499/0.7872, allocations: 168.1 MB / 1.127 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.7875, allocations: 84.88 kB / 1.127 GB, free: 4.609 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/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.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.06187/0.8494, allocations: 16.13 MB / 1.143 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.8495, allocations: 8 kB / 1.143 GB, free: 4.414 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001142/0.8507, allocations: 0.5411 MB / 1.143 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8507, allocations: 8.031 kB / 1.143 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.852, allocations: 116.2 kB / 1.143 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.8526, allocations: 276.8 kB / 1.144 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.8527, allocations: 42.3 kB / 1.144 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.8528, allocations: 16 kB / 1.144 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007976/0.8536, allocations: 277.2 kB / 1.144 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.8545, allocations: 367.7 kB / 1.144 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.8545, allocations: 0 / 1.144 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.8546, allocations: 7.906 kB / 1.144 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.8546, allocations: 26.45 kB / 1.144 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.8582, allocations: 2.049 MB / 1.146 GB, free: 400 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.8588, allocations: 170.7 kB / 1.147 GB, free: 220 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.8593, allocations: 125.7 kB / 1.147 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.8593, allocations: 0 / 1.147 GB, free: 92 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8594, allocations: 34.56 kB / 1.147 GB, free: 48 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.8594, allocations: 0 / 1.147 GB, free: 48 kB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0005655/0.86, allocations: 154.8 kB / 1.147 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.86, allocations: 59.34 kB / 1.147 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.8603, allocations: 179.7 kB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.8603, allocations: 25.7 kB / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.8604, allocations: 179.7 kB / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.8605, allocations: 59.09 kB / 1.147 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.8606, allocations: 4 kB / 1.147 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8607, allocations: 326.8 kB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.8609, allocations: 59.97 kB / 1.148 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.8612, allocations: 153.7 kB / 1.148 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.8614, allocations: 87.92 kB / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.8614, allocations: 5.125 kB / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005898/0.862, allocations: 234.3 kB / 1.148 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005442/0.8626, allocations: 1.313 MB / 1.149 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.8626, allocations: 4 kB / 1.149 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.8626, allocations: 4 kB / 1.149 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.8635, allocations: 71.83 kB / 1.149 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.8648, allocations: 1.252 MB / 1.151 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.8652, allocations: 39.83 kB / 1.151 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.8653, allocations: 15.94 kB / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.8653, allocations: 4 kB / 1.151 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004833/0.8658, allocations: 185.7 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8658, allocations: 8.094 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.8658, allocations: 4 kB / 1.151 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.8666, allocations: 69.86 kB / 1.151 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.8678, allocations: 1.26 MB / 1.152 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.8681, allocations: 23.83 kB / 1.152 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.8681, allocations: 12 kB / 1.152 GB, free: 9.879 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 0.0001342/0.8683, allocations: 120.9 kB / 1.152 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.8684, allocations: 19.72 kB / 1.152 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.8685, allocations: 25.58 kB / 1.152 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8685, allocations: 4 kB / 1.152 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.8685, allocations: 0 / 1.152 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8685, allocations: 0 / 1.152 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.8698, allocations: 0.6418 MB / 1.153 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.8698, allocations: 7.938 kB / 1.153 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.8705, allocations: 51.97 kB / 1.153 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.8706, allocations: 4.156 kB / 1.153 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.8706, allocations: 7.938 kB / 1.153 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.8706, allocations: 6.312 kB / 1.153 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8706, allocations: 0 / 1.153 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004706/0.8711, allocations: 342.1 kB / 1.153 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.8712, allocations: 112.8 kB / 1.154 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.8713, allocations: 0 / 1.154 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.8715, allocations: 19.92 kB / 1.154 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.8716, allocations: 18.05 kB / 1.154 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.8717, allocations: 4 kB / 1.154 GB, free: 8.352 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001527/0.8718, allocations: 136.2 kB / 1.154 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007975/0.8726, allocations: 111.5 kB / 1.154 GB, free: 8.109 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001383/0.8728, allocations: 99.23 kB / 1.154 GB, free: 8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.8743, allocations: 282.7 kB / 1.154 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8743, allocations: 0 / 1.154 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006812/0.875, allocations: 89.66 kB / 1.154 GB, free: 7.641 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.8754, allocations: 28.22 kB / 1.154 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.8765, allocations: 345.5 kB / 1.155 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/0.877, allocations: 0.8101 MB / 1.155 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.8771, allocations: 0 / 1.155 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of Templates: time 0.009476/0.8865, allocations: 2.788 MB / 1.158 GB, free: 3.676 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)