Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009203/0.0009202, allocations: 189.2 kB / 361.1 MB, free: 7.078 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.9826/0.9826, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007471/0.0007472, allocations: 92.02 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.46e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3897, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.5281, allocations: 152.9 MB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5283, allocations: 92.59 kB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.06055/0.5889, allocations: 27.07 MB / 1.14 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.589, allocations: 16 kB / 1.14 GB, free: 7.766 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009747/0.5899, allocations: 0.6812 MB / 1.14 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.59, allocations: 8.031 kB / 1.14 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.5914, allocations: 183.1 kB / 1.14 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.592, allocations: 400.8 kB / 1.141 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.592, allocations: 12 kB / 1.141 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.5921, allocations: 19.91 kB / 1.141 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000552/0.5926, allocations: 365.6 kB / 1.141 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007453/0.5934, allocations: 0.6478 MB / 1.142 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.5934, allocations: 7.938 kB / 1.142 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.5934, allocations: 4 kB / 1.142 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.5935, allocations: 51.89 kB / 1.142 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.5964, allocations: 3.714 MB / 1.146 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006406/0.5971, allocations: 427.8 kB / 1.146 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.5973, allocations: 174.5 kB / 1.146 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.5973, allocations: 8 kB / 1.146 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5974, allocations: 34.88 kB / 1.146 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/0.5974, allocations: 0 / 1.146 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.00138/0.5988, allocations: 0.8144 MB / 1.147 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.5988, allocations: 106.8 kB / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5991, allocations: 300.8 kB / 1.147 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.5991, allocations: 25.7 kB / 1.147 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5993, allocations: 243.3 kB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.5993, allocations: 117 kB / 1.148 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.5994, allocations: 0 / 1.148 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5995, allocations: 350.8 kB / 1.148 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5997, allocations: 160.9 kB / 1.148 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.6, allocations: 339.8 kB / 1.148 GB, free: 14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.6003, allocations: 229.4 kB / 1.149 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6003, allocations: 0 / 1.149 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008903/0.6012, allocations: 0.5952 MB / 1.149 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6013, allocations: 8 kB / 1.149 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.6013, allocations: 4 kB / 1.149 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.6016, allocations: 90.92 kB / 1.149 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.602, allocations: 107.8 kB / 1.149 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.6047, allocations: 3.86 MB / 1.153 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.605, allocations: 12.8 kB / 1.153 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.605, allocations: 29.31 kB / 1.153 GB, free: 8.711 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6051, allocations: 120.8 kB / 1.153 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.6052, allocations: 47.53 kB / 1.153 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.606, allocations: 0.4927 MB / 1.154 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.606, allocations: 4 kB / 1.154 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.606, allocations: 0 / 1.154 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.6061, allocations: 9.109 kB / 1.154 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.6076, allocations: 1.2 MB / 1.155 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6076, allocations: 8.062 kB / 1.155 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.6079, allocations: 55.91 kB / 1.155 GB, free: 6.672 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.6081, allocations: 90.45 kB / 1.155 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6082, allocations: 7.984 kB / 1.155 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.6108, allocations: 3.847 MB / 1.159 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6108, allocations: 4 kB / 1.159 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008479/0.6117, allocations: 0.878 MB / 1.16 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.6118, allocations: 160.4 kB / 1.16 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.6119, allocations: 7.984 kB / 1.16 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.6122, allocations: 14.31 kB / 1.16 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.6123, allocations: 27.81 kB / 1.16 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6123, allocations: 12 kB / 1.16 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0002055/0.6125, allocations: 235.2 kB / 1.16 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005698/0.6131, allocations: 113.6 kB / 1.16 GB, free: 0.8086 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.6132, allocations: 111 kB / 1.161 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009826/0.6142, allocations: 0.7384 MB / 1.161 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6142, allocations: 0 / 1.161 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.6148, allocations: 0.5058 MB / 1.162 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.6154, allocations: 107.5 kB / 1.162 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6166, allocations: 0.6616 MB / 1.163 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/0.6171, allocations: 0.9096 MB / 1.163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of SimCode: time 2.61e-07/0.6171, allocations: 0 / 1.163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.009565/0.6267, allocations: 5.533 MB / 1.169 GB, free: 8.234 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)