Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.113/2.113, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001574/0.001573, allocations: 181.3 kB / 360.4 MB, free: 7.527 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.557/1.557, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001171/0.00117, allocations: 95.78 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.207e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5254, allocations: 115.2 MB / 0.9628 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.7508, allocations: 157.4 MB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.7512, allocations: 92.73 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.04487/0.7961, allocations: 11.75 MB / 1.128 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.7962, allocations: 8 kB / 1.128 GB, free: 3.453 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.0007193/0.7969, allocations: 450.4 kB / 1.129 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7969, allocations: 13.28 kB / 1.129 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008521/0.7978, allocations: 67.64 kB / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.7982, allocations: 226.7 kB / 1.129 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.7982, allocations: 4 kB / 1.129 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.7982, allocations: 8 kB / 1.129 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004499/0.7987, allocations: 168.2 kB / 1.129 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.7992, allocations: 252.2 kB / 1.129 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.7992, allocations: 4.5 kB / 1.129 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.7993, allocations: 4 kB / 1.129 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.7993, allocations: 32.06 kB / 1.129 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.8018, allocations: 1.616 MB / 1.131 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.802, allocations: 65.19 kB / 1.131 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.8021, allocations: 49.81 kB / 1.131 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.8021, allocations: 0.75 kB / 1.131 GB, free: 240 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.8022, allocations: 42.56 kB / 1.131 GB, free: 188 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.8022, allocations: 3.938 kB / 1.131 GB, free: 184 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005954/0.8028, allocations: 174.7 kB / 1.131 GB, free: 4 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.8029, allocations: 77.11 kB / 1.131 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.8032, allocations: 197.8 kB / 1.131 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.8032, allocations: 25.7 kB / 1.131 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.8033, allocations: 163.5 kB / 1.132 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.8034, allocations: 32.58 kB / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.8034, allocations: 0 / 1.132 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8035, allocations: 326.8 kB / 1.132 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.8038, allocations: 67.98 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.804, allocations: 156.9 kB / 1.132 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.8044, allocations: 115.8 kB / 1.132 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8045, allocations: 4 kB / 1.132 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007112/0.8052, allocations: 253.2 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.8056, allocations: 1.139 MB / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.8056, allocations: 4 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.8057, allocations: 8.875 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.8061, allocations: 47.88 kB / 1.134 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.8061, allocations: 7.938 kB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.8065, allocations: 15.98 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.8065, allocations: 15.98 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.8065, allocations: 4 kB / 1.134 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005441/0.8071, allocations: 197.1 kB / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8071, allocations: 384 / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.8071, allocations: 12 kB / 1.134 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.8075, allocations: 51.91 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8075, allocations: 5.797 kB / 1.134 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.8077, allocations: 11.89 kB / 1.134 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.8078, allocations: 8 kB / 1.134 GB, free: 12.92 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 0.0001575/0.8079, allocations: 119.4 kB / 1.134 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.808, allocations: 15.81 kB / 1.134 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.8083, allocations: 116.1 kB / 1.134 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8084, allocations: 4 kB / 1.134 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8084, allocations: 0 / 1.134 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.8084, allocations: 4 kB / 1.134 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.8094, allocations: 0.5742 MB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.8094, allocations: 9.016 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.8096, allocations: 12 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.8096, allocations: 4 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.8096, allocations: 5.719 kB / 1.135 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.8097, allocations: 7.938 kB / 1.135 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8097, allocations: 4 kB / 1.135 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000368/0.81, allocations: 338.1 kB / 1.135 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.8102, allocations: 112.8 kB / 1.135 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.8102, allocations: 0 / 1.135 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8105, allocations: 8 kB / 1.135 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.8105, allocations: 19.92 kB / 1.135 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.8105, allocations: 5.031 kB / 1.135 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001984/0.8107, allocations: 151.2 kB / 1.135 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006642/0.8114, allocations: 87.92 kB / 1.136 GB, free: 11.17 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.0001928/0.8116, allocations: 111.2 kB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.8123, allocations: 260.8 kB / 1.136 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8123, allocations: 4.312 kB / 1.136 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8124, allocations: 43.92 kB / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.8128, allocations: 28.81 kB / 1.136 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.8136, allocations: 266.7 kB / 1.136 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.814, allocations: 0.7592 MB / 1.137 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.814, allocations: 0 / 1.137 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.00807/0.8221, allocations: 2.487 MB / 1.139 GB, free: 7.207 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)