Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [: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.0.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.000907/0.000907, allocations: 177.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9913/0.9913, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007397/0.0007399, allocations: 98.83 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.25e-06, allocations: 0 / 0.8511 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4003, allocations: 115.3 MB / 0.9637 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.5452, allocations: 157.6 MB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5454, allocations: 92.59 kB / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02678/0.5722, allocations: 11.75 MB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.5723, allocations: 8 kB / 1.129 GB, free: 2.621 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004894/0.5728, allocations: 450.4 kB / 1.13 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5728, allocations: 8.531 kB / 1.13 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.5734, allocations: 71.64 kB / 1.13 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5736, allocations: 233.4 kB / 1.13 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5736, allocations: 4 kB / 1.13 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.5737, allocations: 8 kB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002668/0.5739, allocations: 165.5 kB / 1.13 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.5743, allocations: 256.2 kB / 1.13 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5743, allocations: 3.938 kB / 1.13 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.5743, allocations: 0 / 1.13 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.5743, allocations: 28.11 kB / 1.13 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.5759, allocations: 1.616 MB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.576, allocations: 73.14 kB / 1.132 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.5761, allocations: 49.81 kB / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5761, allocations: 0 / 1.132 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5761, allocations: 35.62 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.5761, allocations: 0 / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003876/0.5765, allocations: 176.6 kB / 1.132 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.5766, allocations: 86.14 kB / 1.132 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.5768, allocations: 189.9 kB / 1.132 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5768, allocations: 25.7 kB / 1.133 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.5769, allocations: 163.4 kB / 1.133 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5769, allocations: 23.66 kB / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5769, allocations: 0 / 1.133 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.577, allocations: 326.8 kB / 1.133 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/0.5771, allocations: 71.92 kB / 1.133 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.5773, allocations: 159.1 kB / 1.133 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.5775, allocations: 115.8 kB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5775, allocations: 0.5625 kB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004071/0.5779, allocations: 261.2 kB / 1.134 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.5783, allocations: 1.134 MB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5783, allocations: 4 kB / 1.135 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5783, allocations: 4 kB / 1.135 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5785, allocations: 55.81 kB / 1.135 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.5786, allocations: 9.062 kB / 1.135 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5788, allocations: 13.48 kB / 1.135 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5788, allocations: 12 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/0.5788, allocations: 5.25 kB / 1.135 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003192/0.5791, allocations: 195.6 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.5791, allocations: 4 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.393e-06/0.5791, allocations: 4 kB / 1.135 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.5793, allocations: 51.91 kB / 1.135 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5793, allocations: 10.2 kB / 1.135 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.5795, allocations: 15.89 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.5795, allocations: 8.375 kB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 6.549e-05/0.5796, allocations: 116.9 kB / 1.135 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.5796, allocations: 12.84 kB / 1.135 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.5798, allocations: 120.5 kB / 1.135 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5798, allocations: 0 / 1.135 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5798, allocations: 0 / 1.135 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5799, allocations: 0 / 1.135 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.5805, allocations: 0.578 MB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5805, allocations: 4 kB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.5806, allocations: 19.98 kB / 1.136 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5806, allocations: 4 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5806, allocations: 4.156 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5806, allocations: 8 kB / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5806, allocations: 5.438 kB / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002283/0.5808, allocations: 329.3 kB / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.545e-05/0.5809, allocations: 112.9 kB / 1.136 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.581, allocations: 5.562 kB / 1.136 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5811, allocations: 4 kB / 1.136 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.5811, allocations: 15.86 kB / 1.136 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.5812, allocations: 4 kB / 1.136 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001249/0.5813, allocations: 159 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004497/0.5817, allocations: 79.94 kB / 1.137 GB, free: 10.36 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001335/0.5819, allocations: 126.9 kB / 1.137 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.5822, allocations: 261.5 kB / 1.137 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5822, allocations: 0 / 1.137 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.5823, allocations: 45.42 kB / 1.137 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5826, allocations: 27.64 kB / 1.137 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.5831, allocations: 270.1 kB / 1.137 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.5834, allocations: 0.7639 MB / 1.138 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.5834, allocations: 0 / 1.138 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.004861/0.5883, allocations: 2.486 MB / 1.14 GB, free: 6.371 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)