Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [: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.308/2.308, allocations: 253.1 MB / 260.4 MB, free: 0.5898 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.001672/0.001671, allocations: 188.7 kB / 319.6 MB, free: 7.688 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.131/2.131, allocations: 205.4 MB / 0.5704 GB, free: 25.64 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.001302/0.001302, allocations: 91.33 kB / 0.6746 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.242e-05, allocations: 0 / 0.7843 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6024, allocations: 106.2 MB / 0.8881 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.8489, allocations: 146.5 MB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004221/0.8494, allocations: 91.94 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5838/1.433, allocations: 27.08 MB / 1.058 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.949e-05/1.433, allocations: 10.47 kB / 1.058 GB, free: 144.6 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00157/1.435, allocations: 0.674 MB / 1.058 GB, free: 144 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/1.435, allocations: 8.906 kB / 1.058 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/1.44, allocations: 186.4 kB / 1.058 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/1.442, allocations: 402.3 kB / 1.059 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/1.442, allocations: 10.47 kB / 1.059 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/1.442, allocations: 23.44 kB / 1.059 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002206/1.445, allocations: 356.7 kB / 1.059 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.447, allocations: 0.6441 MB / 1.06 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/1.447, allocations: 9.75 kB / 1.06 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.447, allocations: 3.531 kB / 1.06 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/1.447, allocations: 49.34 kB / 1.06 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/1.455, allocations: 3.721 MB / 1.064 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/1.457, allocations: 432.2 kB / 1.064 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/1.458, allocations: 168.6 kB / 1.064 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/1.458, allocations: 3.812 kB / 1.064 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.458, allocations: 48.55 kB / 1.064 GB, free: 139 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 5.891e-06/1.458, allocations: 0.6875 kB / 1.064 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.004069/1.462, allocations: 0.8087 MB / 1.065 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.462, allocations: 110.2 kB / 1.065 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/1.463, allocations: 297 kB / 1.065 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/1.463, allocations: 25.7 kB / 1.065 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/1.463, allocations: 254.9 kB / 1.066 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.463, allocations: 105.6 kB / 1.066 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/1.463, allocations: 0 / 1.066 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.464, allocations: 352.3 kB / 1.066 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/1.464, allocations: 160.7 kB / 1.066 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/1.465, allocations: 343.5 kB / 1.067 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/1.466, allocations: 216.8 kB / 1.067 GB, free: 137 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.577e-06/1.466, allocations: 1.594 kB / 1.067 GB, free: 137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002942/1.469, allocations: 0.6072 MB / 1.067 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/1.469, allocations: 4.781 kB / 1.067 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.469, allocations: 6.312 kB / 1.067 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008711/1.47, allocations: 96.75 kB / 1.067 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.472, allocations: 100.7 kB / 1.068 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/1.477, allocations: 3.865 MB / 1.071 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.479, allocations: 13.64 kB / 1.071 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.479, allocations: 22.78 kB / 1.071 GB, free: 132.7 MB / 0.6823 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002508/1.479, allocations: 124.2 kB / 1.071 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/1.479, allocations: 42 kB / 1.071 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.482, allocations: 0.4888 MB / 1.072 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.482, allocations: 5 kB / 1.072 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.482, allocations: 1 kB / 1.072 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.482, allocations: 1.156 kB / 1.072 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/1.486, allocations: 1.213 MB / 1.073 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.486, allocations: 7.422 kB / 1.073 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/1.487, allocations: 58.41 kB / 1.073 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/1.488, allocations: 88.7 kB / 1.073 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-05/1.488, allocations: 7.484 kB / 1.073 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/1.494, allocations: 3.853 MB / 1.077 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/1.494, allocations: 3.938 kB / 1.077 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00229/1.496, allocations: 0.8936 MB / 1.078 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/1.497, allocations: 152.8 kB / 1.078 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.497, allocations: 3.719 kB / 1.078 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/1.498, allocations: 11.08 kB / 1.078 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.498, allocations: 30.75 kB / 1.078 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/1.498, allocations: 13.78 kB / 1.078 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006053/1.499, allocations: 227.8 kB / 1.078 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001736/1.5, allocations: 109.9 kB / 1.078 GB, free: 126.3 MB / 0.6823 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002956/1.501, allocations: 111.1 kB / 1.079 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002468/1.503, allocations: 0.7403 MB / 1.079 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/1.503, allocations: 256 / 1.079 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/1.505, allocations: 0.5128 MB / 1.08 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.507, allocations: 97.94 kB / 1.08 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/1.51, allocations: 0.6672 MB / 1.081 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008736/1.511, allocations: 0.901 MB / 1.081 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.104e-06/1.511, allocations: 0 / 1.081 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.02517/1.536, allocations: 5.538 MB / 1.087 GB, free: 117.6 MB / 0.6823 GB