Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0008847/0.0008847, allocations: 177.3 kB / 361.1 MB, free: 7.039 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.24 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.0008481/0.0008483, allocations: 91.78 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.37e-06, allocations: 0 / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.5449, allocations: 156.3 MB / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5452, allocations: 92.69 kB / 1.116 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02654/0.5717, allocations: 11.32 MB / 1.127 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5718, allocations: 8 kB / 1.127 GB, free: 4.188 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.0005274/0.5723, allocations: 459.6 kB / 1.128 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.5724, allocations: 8.531 kB / 1.128 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005881/0.573, allocations: 71.58 kB / 1.128 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.5732, allocations: 218.8 kB / 1.128 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.5732, allocations: 4 kB / 1.128 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.5733, allocations: 8 kB / 1.128 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002738/0.5736, allocations: 164.2 kB / 1.128 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.5739, allocations: 262.5 kB / 1.129 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5739, allocations: 4 kB / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.574, allocations: 0 / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.574, allocations: 20.12 kB / 1.129 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.5757, allocations: 1.632 MB / 1.13 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.5758, allocations: 65.86 kB / 1.13 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.5759, allocations: 45.81 kB / 1.13 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.5759, allocations: 3.938 kB / 1.13 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5759, allocations: 34.56 kB / 1.13 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5759, allocations: 4 kB / 1.13 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004235/0.5763, allocations: 184.5 kB / 1.131 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5764, allocations: 77.11 kB / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.5766, allocations: 192.1 kB / 1.131 GB, free: 452 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5766, allocations: 25.7 kB / 1.131 GB, free: 420 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.5767, allocations: 163.4 kB / 1.131 GB, free: 252 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.5767, allocations: 23.66 kB / 1.131 GB, free: 228 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.5768, allocations: 0 / 1.131 GB, free: 228 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5769, allocations: 330.9 kB / 1.131 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.577, allocations: 71.97 kB / 1.131 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.5771, allocations: 151.1 kB / 1.132 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5773, allocations: 107.8 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5774, allocations: 4 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004243/0.5778, allocations: 261.2 kB / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004346/0.5782, allocations: 1.146 MB / 1.133 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5783, allocations: 4 kB / 1.133 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5783, allocations: 4 kB / 1.133 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.5785, allocations: 51.81 kB / 1.133 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5785, allocations: 5.031 kB / 1.133 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.5787, allocations: 11.98 kB / 1.133 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.5788, allocations: 12 kB / 1.133 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.5788, allocations: 4 kB / 1.133 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003228/0.5791, allocations: 205.7 kB / 1.133 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5791, allocations: 4 kB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.5791, allocations: 4 kB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.5793, allocations: 47.91 kB / 1.133 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5793, allocations: 4.375 kB / 1.133 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5795, allocations: 15.89 kB / 1.133 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.5795, allocations: 13.25 kB / 1.133 GB, free: 13.65 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 7.306e-05/0.5796, allocations: 110 kB / 1.133 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.5797, allocations: 15.81 kB / 1.134 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.5798, allocations: 118.6 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5798, allocations: 0 / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5799, allocations: 4 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5799, allocations: 0 / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.5805, allocations: 0.582 MB / 1.134 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5805, allocations: 0 / 1.134 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.3e-05/0.5806, allocations: 21.92 kB / 1.134 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5806, allocations: 8 kB / 1.134 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5806, allocations: 7.906 kB / 1.134 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5806, allocations: 1.594 kB / 1.134 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5807, allocations: 4 kB / 1.134 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000259/0.5809, allocations: 338.6 kB / 1.135 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.581, allocations: 108.9 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.5811, allocations: 7.938 kB / 1.135 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.5812, allocations: 4 kB / 1.135 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.5812, allocations: 11.98 kB / 1.135 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.5812, allocations: 4 kB / 1.135 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001313/0.5814, allocations: 151.2 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000465/0.5818, allocations: 83.94 kB / 1.135 GB, free: 11.92 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.0001431/0.582, allocations: 126.9 kB / 1.135 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.5823, allocations: 251.7 kB / 1.135 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5824, allocations: 1.5 kB / 1.135 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.5824, allocations: 44.36 kB / 1.135 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.5827, allocations: 28.3 kB / 1.135 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.5832, allocations: 270.1 kB / 1.136 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.5836, allocations: 0.7639 MB / 1.136 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/0.5836, allocations: 0 / 1.136 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.004907/0.5885, allocations: 2.484 MB / 1.139 GB, free: 7.953 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)