Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [: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 7.0.1/package.mo): time 2.416/2.416, allocations: 253.1 MB / 260.4 MB, free: 7.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002392/0.002392, allocations: 184.3 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 102.8 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.268e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.22, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8242/1.044, allocations: 175.6 MB / 1.06 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/1.045, allocations: 96.48 kB / 1.06 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1216/1.166, allocations: 28.14 MB / 1.087 GB, free: 5.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.486e-05/1.166, allocations: 15.98 kB / 1.087 GB, free: 5.668 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001753/1.168, allocations: 0.6808 MB / 1.088 GB, free: 4.965 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.168, allocations: 8.031 kB / 1.088 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/1.173, allocations: 434.1 kB / 1.088 GB, free: 4.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.175, allocations: 477.5 kB / 1.089 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.175, allocations: 8 kB / 1.089 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.175, allocations: 16 kB / 1.089 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001362/1.176, allocations: 489.6 kB / 1.089 GB, free: 3.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/1.178, allocations: 0.5547 MB / 1.09 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/1.178, allocations: 4 kB / 1.09 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/1.178, allocations: 0 / 1.09 GB, free: 3.301 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-05/1.178, allocations: 27.95 kB / 1.09 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006809/1.185, allocations: 2.757 MB / 1.092 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/1.186, allocations: 324.8 kB / 1.093 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/1.186, allocations: 165.4 kB / 1.093 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/1.186, allocations: 89.03 kB / 1.093 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/1.187, allocations: 34.44 kB / 1.093 GB, free: 188 kB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.336e-06/1.187, allocations: 4 kB / 1.093 GB, free: 184 kB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.008193/1.195, allocations: 1.471 MB / 1.094 GB, free: 15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.195, allocations: 85.05 kB / 1.095 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/1.196, allocations: 341 kB / 1.095 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/1.196, allocations: 25.7 kB / 1.095 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.196, allocations: 201.8 kB / 1.095 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/1.196, allocations: 81.38 kB / 1.095 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/1.196, allocations: 0 / 1.095 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.196, allocations: 345.4 kB / 1.096 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/1.197, allocations: 244.3 kB / 1.096 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/1.198, allocations: 332.7 kB / 1.096 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/1.199, allocations: 306.3 kB / 1.096 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.199, allocations: 4.031 kB / 1.096 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005383/1.204, allocations: 1.01 MB / 1.097 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003742/1.204, allocations: 0.7951 MB / 1.098 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.204, allocations: 0 / 1.098 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/1.209, allocations: 414.5 kB / 1.099 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.21, allocations: 115.4 kB / 1.099 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006571/1.216, allocations: 2.945 MB / 1.101 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.218, allocations: 90.88 kB / 1.102 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/1.218, allocations: 12 kB / 1.102 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.218, allocations: 0 / 1.102 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/1.22, allocations: 492.3 kB / 1.102 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.22, allocations: 3.906 kB / 1.102 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.22, allocations: 4 kB / 1.102 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.221, allocations: 139.1 kB / 1.102 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.221, allocations: 4 kB / 1.102 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.222, allocations: 71.91 kB / 1.102 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/1.222, allocations: 15.81 kB / 1.102 GB, free: 7.871 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/1.223, allocations: 108.9 kB / 1.102 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.223, allocations: 31.62 kB / 1.102 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/1.229, allocations: 1.083 MB / 1.103 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.229, allocations: 0 / 1.103 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.229, allocations: 0 / 1.103 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.229, allocations: 4 kB / 1.103 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/1.236, allocations: 1.674 MB / 1.105 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.236, allocations: 0 / 1.105 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/1.237, allocations: 87.73 kB / 1.105 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004739/1.242, allocations: 0.5483 MB / 1.106 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/1.242, allocations: 3.984 kB / 1.106 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009046/1.251, allocations: 4.049 MB / 1.11 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/1.251, allocations: 7.984 kB / 1.11 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005567/1.257, allocations: 1.103 MB / 1.111 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/1.257, allocations: 174 kB / 1.111 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.257, allocations: 0 / 1.111 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.259, allocations: 83.89 kB / 1.111 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.259, allocations: 19.66 kB / 1.111 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/1.259, allocations: 8 kB / 1.111 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005324/1.259, allocations: 271 kB / 1.111 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001271/1.261, allocations: 191.2 kB / 1.111 GB, free: 15.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004374/1.261, allocations: 155.7 kB / 1.112 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003127/1.264, allocations: 0.9638 MB / 1.113 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.264, allocations: 0 / 1.113 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.266, allocations: 0.5362 MB / 1.113 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.267, allocations: 109.1 kB / 1.113 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/1.27, allocations: 0.7531 MB / 1.114 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.271, allocations: 0.9541 MB / 1.115 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of SimCode: time 3.696e-06/1.271, allocations: 7.938 kB / 1.115 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.03346/1.305, allocations: 12.1 MB / 1.127 GB, free: 404 kB / 0.7292 GB