Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [: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.221/2.221, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001612/0.001612, allocations: 177.3 kB / 319.6 MB, free: 3.312 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.037/2.037, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001337/0.001337, allocations: 89.77 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.026e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2125, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.737/0.9496, allocations: 203.3 MB / 1.087 GB, free: 2.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.9501, allocations: 103.6 kB / 1.087 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.3983/1.348, allocations: 84.96 MB / 1.17 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001869/1.349, allocations: 47.92 kB / 1.17 GB, free: 5.668 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006136/1.355, allocations: 1.645 MB / 1.171 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.355, allocations: 8.031 kB / 1.171 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02332/1.378, allocations: 1.605 MB / 1.173 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009406/1.388, allocations: 2.094 MB / 1.175 GB, free: 208 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/1.388, allocations: 39.91 kB / 1.175 GB, free: 168 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007378/1.388, allocations: 71.98 kB / 1.175 GB, free: 96 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006291/1.395, allocations: 1.707 MB / 1.177 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007513/1.402, allocations: 2.096 MB / 1.179 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.65e-05/1.403, allocations: 11.84 kB / 1.179 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003329/1.403, allocations: 4 kB / 1.179 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/1.403, allocations: 98.27 kB / 1.179 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03095/1.434, allocations: 10.34 MB / 1.189 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/1.439, allocations: 1.424 MB / 1.19 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/1.442, allocations: 0.8979 MB / 1.191 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.442, allocations: 24.75 kB / 1.191 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/1.442, allocations: 47.28 kB / 1.191 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.659e-06/1.442, allocations: 0 / 1.191 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.04824/1.49, allocations: 6.99 MB / 1.198 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/1.49, allocations: 230.9 kB / 1.198 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/1.494, allocations: 0.8013 MB / 1.199 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000622/1.494, allocations: 29.7 kB / 1.199 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008092/1.495, allocations: 0.5355 MB / 1.2 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.496, allocations: 496.4 kB / 1.2 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004086/1.497, allocations: 0 / 1.2 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003656/1.497, allocations: 361.9 kB / 1.2 GB, free: 5.105 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/1.503, allocations: 1.14 MB / 1.202 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/1.507, allocations: 1.407 MB / 1.203 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.511, allocations: 1.307 MB / 1.204 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/1.511, allocations: 0 / 1.204 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02254/1.534, allocations: 4.518 MB / 1.209 GB, free: 12.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.534, allocations: 11.92 kB / 1.209 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.534, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/1.552, allocations: 2.091 MB / 1.211 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/1.556, allocations: 343.5 kB / 1.211 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05344/1.61, allocations: 20.89 MB / 1.231 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/1.615, allocations: 211.7 kB / 1.232 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005512/1.616, allocations: 67.95 kB / 1.232 GB, free: 4.043 MB / 0.8386 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000622/1.617, allocations: 131.3 kB / 1.232 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009055/1.618, allocations: 162 kB / 1.232 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/1.641, allocations: 4.642 MB / 1.237 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/1.641, allocations: 12 kB / 1.237 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.993e-05/1.641, allocations: 24 kB / 1.237 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/1.641, allocations: 11.88 kB / 1.237 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.671, allocations: 6.635 MB / 1.243 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/1.671, allocations: 4 kB / 1.243 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.675, allocations: 283.7 kB / 1.243 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/1.692, allocations: 1.933 MB / 1.245 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/1.692, allocations: 15.97 kB / 1.245 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5039/2.196, allocations: 20 MB / 1.265 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/2.196, allocations: 3.406 kB / 1.265 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01847/2.215, allocations: 4.35 MB / 1.269 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/2.216, allocations: 0.4891 MB / 1.269 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008303/2.217, allocations: 10.98 kB / 1.27 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/2.222, allocations: 208.8 kB / 1.27 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003916/2.223, allocations: 85.83 kB / 1.27 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/2.223, allocations: 52.08 kB / 1.27 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001314/2.224, allocations: 0.6064 MB / 1.27 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003614/2.228, allocations: 0.5882 MB / 1.271 GB, free: 178.6 MB / 0.8542 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008447/2.229, allocations: 184 kB / 1.271 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01301/2.242, allocations: 4.044 MB / 1.275 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/2.242, allocations: 0 / 1.275 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009134/2.251, allocations: 2.639 MB / 1.278 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/2.255, allocations: 425.7 kB / 1.278 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/2.268, allocations: 3.237 MB / 1.281 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/2.271, allocations: 1.622 MB / 1.283 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/2.271, allocations: 0 / 1.283 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.1092/2.38, allocations: 44.97 MB / 1.327 GB, free: 173.5 MB / 0.8542 GB