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.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [: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.26/2.26, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.002547/0.002546, allocations: 185.2 kB / 319.6 MB, free: 3.297 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.092/2.092, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001244/0.001244, allocations: 87.39 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.04e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.194, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6711/0.8652, allocations: 155 MB / 1.039 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005777/0.8658, allocations: 89.5 kB / 1.04 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.2516/1.117, allocations: 36.29 MB / 1.075 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001311/1.118, allocations: 20 kB / 1.075 GB, free: 2.586 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004102/1.122, allocations: 0.8687 MB / 1.076 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/1.122, allocations: 12.02 kB / 1.076 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/1.128, allocations: 218.7 kB / 1.076 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/1.13, allocations: 0.5314 MB / 1.077 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/1.131, allocations: 24 kB / 1.077 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/1.131, allocations: 36 kB / 1.077 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002291/1.133, allocations: 0.5752 MB / 1.077 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/1.136, allocations: 0.9979 MB / 1.078 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/1.136, allocations: 11.92 kB / 1.078 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.136, allocations: 4 kB / 1.078 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/1.137, allocations: 60.16 kB / 1.078 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/1.148, allocations: 5.67 MB / 1.084 GB, free: 9.965 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/1.149, allocations: 396.4 kB / 1.084 GB, free: 9.695 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/1.15, allocations: 307.1 kB / 1.084 GB, free: 9.504 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/1.15, allocations: 4 kB / 1.084 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/1.15, allocations: 37.67 kB / 1.084 GB, free: 9.457 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 4.378e-06/1.15, allocations: 3.938 kB / 1.084 GB, free: 9.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.005305/1.156, allocations: 1.127 MB / 1.086 GB, free: 8.559 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.156, allocations: 59.28 kB / 1.086 GB, free: 8.492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/1.156, allocations: 320.3 kB / 1.086 GB, free: 8.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.157, allocations: 25.7 kB / 1.086 GB, free: 8.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/1.157, allocations: 328.7 kB / 1.086 GB, free: 7.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/1.157, allocations: 150.2 kB / 1.086 GB, free: 7.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/1.157, allocations: 0 / 1.086 GB, free: 7.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.158, allocations: 359.7 kB / 1.087 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/1.158, allocations: 225.9 kB / 1.087 GB, free: 7.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.159, allocations: 408.6 kB / 1.087 GB, free: 6.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009958/1.16, allocations: 291.6 kB / 1.088 GB, free: 6.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.16, allocations: 4 kB / 1.088 GB, free: 6.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004365/1.165, allocations: 0.9071 MB / 1.089 GB, free: 5.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/1.165, allocations: 7.25 kB / 1.089 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/1.165, allocations: 8 kB / 1.089 GB, free: 5.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002382/1.167, allocations: 283.3 kB / 1.089 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/1.168, allocations: 91.33 kB / 1.089 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/1.182, allocations: 6.216 MB / 1.095 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.183, allocations: 11.98 kB / 1.095 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.183, allocations: 23.88 kB / 1.095 GB, free: 15.46 MB / 0.7136 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 (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002577/1.183, allocations: 126.5 kB / 1.095 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/1.183, allocations: 55.34 kB / 1.095 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/1.187, allocations: 0.8127 MB / 1.096 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.187, allocations: 8 kB / 1.096 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.187, allocations: 4 kB / 1.096 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.187, allocations: 3.984 kB / 1.096 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005991/1.193, allocations: 1.513 MB / 1.097 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/1.193, allocations: 4 kB / 1.097 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/1.194, allocations: 47.53 kB / 1.098 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/1.196, allocations: 284.2 kB / 1.098 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/1.196, allocations: 4 kB / 1.098 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.21, allocations: 6.199 MB / 1.104 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/1.21, allocations: 4 kB / 1.104 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003945/1.214, allocations: 0.9891 MB / 1.105 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/1.214, allocations: 162.9 kB / 1.105 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.215, allocations: 7.906 kB / 1.105 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/1.215, allocations: 11.98 kB / 1.105 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.215, allocations: 28.47 kB / 1.105 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/1.215, allocations: 11.25 kB / 1.105 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005484/1.216, allocations: 246 kB / 1.105 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001631/1.218, allocations: 163.9 kB / 1.105 GB, free: 5.547 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/1.218, allocations: 115.1 kB / 1.106 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003138/1.221, allocations: 1.053 MB / 1.107 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.221, allocations: 0 / 1.107 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.223, allocations: 0.7666 MB / 1.107 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.225, allocations: 156.2 kB / 1.107 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/1.228, allocations: 0.9068 MB / 1.108 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.23, allocations: 1.017 MB / 1.109 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.603e-06/1.23, allocations: 3.938 kB / 1.109 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of Templates: time 0.02738/1.257, allocations: 8.7 MB / 1.118 GB, free: 9.195 MB / 0.7292 GB