Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.148/2.148, 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.001576/0.001576, allocations: 185.2 kB / 360.4 MB, free: 7.461 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.613/1.613, 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.001183/0.001183, allocations: 84.75 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.497e-06, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5258, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/0.7643, allocations: 166.2 MB / 1.125 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/0.7647, allocations: 92.59 kB / 1.125 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06732/0.832, allocations: 17.35 MB / 1.142 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.8321, allocations: 8 kB / 1.142 GB, free: 5.059 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001076/0.8332, allocations: 0.5331 MB / 1.143 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.8332, allocations: 8.531 kB / 1.143 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.8344, allocations: 100.8 kB / 1.143 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.8349, allocations: 260 kB / 1.143 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.8349, allocations: 8 kB / 1.143 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.714e-05/0.835, allocations: 12 kB / 1.143 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007439/0.8357, allocations: 260.8 kB / 1.143 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.8365, allocations: 341.1 kB / 1.144 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.8365, allocations: 5.031 kB / 1.144 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.8366, allocations: 0 / 1.144 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/0.8366, allocations: 27.97 kB / 1.144 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.8395, allocations: 1.684 MB / 1.145 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.8402, allocations: 274.4 kB / 1.145 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.8406, allocations: 179.4 kB / 1.146 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.8408, allocations: 89.91 kB / 1.146 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.8408, allocations: 34.56 kB / 1.146 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 4.038e-06/0.8408, allocations: 0 / 1.146 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.00495/0.8458, allocations: 1.105 MB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.8458, allocations: 85.09 kB / 1.147 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.846, allocations: 156.6 kB / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.8461, allocations: 25.7 kB / 1.147 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.8462, allocations: 144.3 kB / 1.147 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.8463, allocations: 110.3 kB / 1.147 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.8464, allocations: 0 / 1.147 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8465, allocations: 334.8 kB / 1.148 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.8471, allocations: 215.9 kB / 1.148 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006858/0.8478, allocations: 309.2 kB / 1.148 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.8489, allocations: 306 kB / 1.148 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8489, allocations: 0.75 kB / 1.148 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001983/0.8509, allocations: 0.626 MB / 1.149 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003568/0.8513, allocations: 0.8736 MB / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8513, allocations: 4 kB / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.8513, allocations: 4 kB / 1.15 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.8532, allocations: 151.8 kB / 1.15 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.8532, allocations: 4 kB / 1.15 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007156/0.854, allocations: 35.95 kB / 1.15 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.8541, allocations: 12.84 kB / 1.15 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8541, allocations: 4 kB / 1.15 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.8557, allocations: 467.5 kB / 1.151 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8558, allocations: 4 kB / 1.151 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8558, allocations: 4 kB / 1.151 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.8572, allocations: 140 kB / 1.151 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8573, allocations: 4 kB / 1.151 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.8578, allocations: 33.47 kB / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.8579, allocations: 19.98 kB / 1.151 GB, free: 11.71 MB / 0.7605 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 (44): * Single equations (assignments): 44 * 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.0001853/0.8581, allocations: 118.2 kB / 1.151 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.8582, allocations: 23.72 kB / 1.151 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.8605, allocations: 0.6508 MB / 1.152 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.8605, allocations: 4 kB / 1.152 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.8606, allocations: 9.766 kB / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.8606, allocations: 0 / 1.152 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.864, allocations: 1.282 MB / 1.153 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.864, allocations: 5.688 kB / 1.153 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.8653, allocations: 128.1 kB / 1.153 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.8653, allocations: 4 kB / 1.153 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.8654, allocations: 4 kB / 1.153 GB, free: 9.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.8654, allocations: 4 kB / 1.153 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.8654, allocations: 4 kB / 1.153 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00149/0.8669, allocations: 0.7708 MB / 1.154 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.8672, allocations: 140.8 kB / 1.154 GB, free: 8.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.96e-05/0.8673, allocations: 11.92 kB / 1.154 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.8679, allocations: 39.97 kB / 1.154 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.868, allocations: 15.97 kB / 1.154 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.8681, allocations: 18.81 kB / 1.154 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001613/0.8682, allocations: 135.1 kB / 1.154 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009019/0.8692, allocations: 151.9 kB / 1.154 GB, free: 8.004 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0002539/0.8694, allocations: 143 kB / 1.154 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.8711, allocations: 0.7109 MB / 1.155 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8711, allocations: 4 kB / 1.155 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.8717, allocations: 231.7 kB / 1.155 GB, free: 6.918 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.8723, allocations: 40.14 kB / 1.155 GB, free: 6.883 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.874, allocations: 0.5811 MB / 1.156 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007298/0.8747, allocations: 0.8316 MB / 1.157 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of SimCode: time 6.72e-07/0.8747, allocations: 0 / 1.157 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of Templates: time 0.01621/0.891, allocations: 6.594 MB / 1.163 GB, free: 14.89 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)