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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [: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.089/2.089, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.001687/0.001686, allocations: 181.2 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 1.983/1.983, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001789/0.001789, allocations: 98.33 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.013e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6854/0.8864, allocations: 153.8 MB / 1.038 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.8868, allocations: 98.62 kB / 1.038 GB, free: 2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1649/1.052, allocations: 36.07 MB / 1.074 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.57e-05/1.052, allocations: 20 kB / 1.074 GB, free: 3.816 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003761/1.056, allocations: 0.9545 MB / 1.075 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.056, allocations: 8.031 kB / 1.075 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/1.06, allocations: 238.7 kB / 1.075 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/1.062, allocations: 0.5455 MB / 1.075 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/1.062, allocations: 20 kB / 1.075 GB, free: 2.082 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/1.063, allocations: 44 kB / 1.075 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002681/1.065, allocations: 0.6135 MB / 1.076 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/1.069, allocations: 1.036 MB / 1.077 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/1.069, allocations: 7.844 kB / 1.077 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.069, allocations: 4 kB / 1.077 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/1.069, allocations: 60.34 kB / 1.077 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/1.093, allocations: 5.793 MB / 1.083 GB, free: 10.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/1.095, allocations: 0.5322 MB / 1.083 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009582/1.096, allocations: 320.4 kB / 1.084 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/1.096, allocations: 8.438 kB / 1.084 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/1.096, allocations: 41.17 kB / 1.084 GB, free: 10.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.648e-06/1.096, allocations: 0 / 1.084 GB, free: 10.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.005006/1.101, allocations: 1.184 MB / 1.085 GB, free: 9.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.101, allocations: 55.84 kB / 1.085 GB, free: 9.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/1.102, allocations: 402.8 kB / 1.085 GB, free: 8.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/1.102, allocations: 25.7 kB / 1.085 GB, free: 8.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.103, allocations: 349 kB / 1.086 GB, free: 8.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/1.103, allocations: 160.7 kB / 1.086 GB, free: 8.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/1.103, allocations: 0 / 1.086 GB, free: 8.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.103, allocations: 366.8 kB / 1.086 GB, free: 8.156 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009062/1.104, allocations: 261.4 kB / 1.086 GB, free: 7.996 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.105, allocations: 447.4 kB / 1.087 GB, free: 7.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.106, allocations: 331.5 kB / 1.087 GB, free: 7.359 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.106, allocations: 0 / 1.087 GB, free: 7.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004088/1.111, allocations: 0.9811 MB / 1.088 GB, free: 6.586 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.111, allocations: 4 kB / 1.088 GB, free: 6.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/1.111, allocations: 8 kB / 1.088 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.113, allocations: 277.2 kB / 1.088 GB, free: 6.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.114, allocations: 111.2 kB / 1.088 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.127, allocations: 6.209 MB / 1.094 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.128, allocations: 23.91 kB / 1.094 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.128, allocations: 23.56 kB / 1.094 GB, free: 40 kB / 0.698 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003057/1.128, allocations: 127 kB / 1.095 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/1.129, allocations: 67.25 kB / 1.095 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/1.132, allocations: 0.8445 MB / 1.095 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.132, allocations: 4 kB / 1.095 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.132, allocations: 4 kB / 1.095 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.133, allocations: 7.984 kB / 1.095 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/1.138, allocations: 1.593 MB / 1.097 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.138, allocations: 0 / 1.097 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/1.139, allocations: 60.03 kB / 1.097 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/1.141, allocations: 261 kB / 1.097 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/1.141, allocations: 4 kB / 1.097 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.153, allocations: 6.192 MB / 1.103 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/1.153, allocations: 0 / 1.103 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002815/1.156, allocations: 1.023 MB / 1.104 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/1.156, allocations: 188.8 kB / 1.105 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/1.157, allocations: 4 kB / 1.105 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006696/1.157, allocations: 11.98 kB / 1.105 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.157, allocations: 31.52 kB / 1.105 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/1.157, allocations: 15.81 kB / 1.105 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005354/1.158, allocations: 293.5 kB / 1.105 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001163/1.159, allocations: 195.9 kB / 1.105 GB, free: 5.949 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/1.159, allocations: 119.5 kB / 1.105 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003107/1.162, allocations: 1.143 MB / 1.106 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.163, allocations: 0 / 1.106 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.165, allocations: 0.8075 MB / 1.107 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.166, allocations: 166.8 kB / 1.107 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/1.17, allocations: 0.9888 MB / 1.108 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.171, allocations: 1.043 MB / 1.109 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/1.171, allocations: 4 kB / 1.109 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.03016/1.201, allocations: 10.08 MB / 1.119 GB, free: 8.012 MB / 0.7292 GB