Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.116/2.116, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001618/0.001617, allocations: 176.1 kB / 360.4 MB, free: 7.469 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.626/1.626, allocations: 205.1 MB / 0.6188 GB, free: 12.39 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.001262/0.001261, allocations: 93.41 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.686e-06, allocations: 0 / 0.8503 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5592, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.7897, allocations: 156.1 MB / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.7902, allocations: 93.02 kB / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of FrontEnd: time 0.04373/0.8339, allocations: 11.32 MB / 1.126 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.834, allocations: 8 kB / 1.126 GB, free: 5.125 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.0007235/0.8347, allocations: 454.4 kB / 1.127 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8348, allocations: 8.031 kB / 1.127 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.8357, allocations: 75.58 kB / 1.127 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.8361, allocations: 218.8 kB / 1.127 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.8361, allocations: 4.875 kB / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.8362, allocations: 8 kB / 1.127 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004699/0.8366, allocations: 160.2 kB / 1.127 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.8372, allocations: 258.5 kB / 1.128 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.8372, allocations: 11.88 kB / 1.128 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.8373, allocations: 0 / 1.128 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.8373, allocations: 24.11 kB / 1.128 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.8398, allocations: 1.626 MB / 1.129 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.84, allocations: 69.2 kB / 1.129 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.8402, allocations: 45.81 kB / 1.129 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.8402, allocations: 0 / 1.129 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.8402, allocations: 40.31 kB / 1.129 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.8402, allocations: 0 / 1.129 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0006043/0.8408, allocations: 176.6 kB / 1.129 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.8409, allocations: 85.8 kB / 1.13 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.8412, allocations: 193.8 kB / 1.13 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.8412, allocations: 25.7 kB / 1.13 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.8413, allocations: 163.4 kB / 1.13 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.8414, allocations: 23.66 kB / 1.13 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.8414, allocations: 0 / 1.13 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8416, allocations: 330.8 kB / 1.13 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.8417, allocations: 69.3 kB / 1.13 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.842, allocations: 156.9 kB / 1.13 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.8424, allocations: 111.8 kB / 1.131 GB, free: 468 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8424, allocations: 4 kB / 1.131 GB, free: 464 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007063/0.8431, allocations: 259.3 kB / 1.131 GB, free: 200 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004723/0.8436, allocations: 1.147 MB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8436, allocations: 4 kB / 1.132 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.8437, allocations: 4 kB / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.8441, allocations: 51.81 kB / 1.132 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8441, allocations: 6.422 kB / 1.132 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/0.8445, allocations: 11.98 kB / 1.132 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.8445, allocations: 12 kB / 1.132 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.8446, allocations: 4 kB / 1.132 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005616/0.8451, allocations: 203.6 kB / 1.132 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8452, allocations: 4.75 kB / 1.132 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.8452, allocations: 4 kB / 1.132 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.8455, allocations: 49.03 kB / 1.132 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8456, allocations: 4 kB / 1.132 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.8458, allocations: 12.27 kB / 1.132 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.8458, allocations: 16 kB / 1.132 GB, free: 14.59 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 9.519e-05/0.8459, allocations: 112.7 kB / 1.132 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.846, allocations: 15.81 kB / 1.132 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.8463, allocations: 115.4 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.8464, allocations: 0 / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8464, allocations: 5.812 kB / 1.133 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8464, allocations: 0 / 1.133 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.8474, allocations: 0.582 MB / 1.133 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8474, allocations: 0 / 1.133 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.8476, allocations: 15.98 kB / 1.133 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.8476, allocations: 4 kB / 1.133 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8476, allocations: 8.812 kB / 1.133 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8476, allocations: 7.938 kB / 1.133 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.8476, allocations: 4 kB / 1.133 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003817/0.848, allocations: 337.2 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.8482, allocations: 112.9 kB / 1.134 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.8482, allocations: 4 kB / 1.134 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.8485, allocations: 4 kB / 1.134 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.8485, allocations: 18.17 kB / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.8485, allocations: 4 kB / 1.134 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002065/0.8488, allocations: 151.2 kB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006948/0.8495, allocations: 79.94 kB / 1.134 GB, free: 12.85 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.0001759/0.8496, allocations: 123.1 kB / 1.134 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.8503, allocations: 255.7 kB / 1.134 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8503, allocations: 0 / 1.134 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8504, allocations: 45.42 kB / 1.134 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.8508, allocations: 21.23 kB / 1.134 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.8516, allocations: 275.1 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/0.8521, allocations: 0.7631 MB / 1.135 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.8521, allocations: 0 / 1.135 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.008204/0.8603, allocations: 2.484 MB / 1.138 GB, free: 8.883 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)