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.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") [: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.498/2.498, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.00168/0.00168, allocations: 181.2 kB / 319.6 MB, free: 3.305 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.222/2.222, 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.001344/0.001344, allocations: 101.2 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.016e-05/1.033e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2031, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7277/0.9309, allocations: 159.1 MB / 1.043 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/0.9313, allocations: 90.31 kB / 1.043 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1163/1.048, allocations: 27.71 MB / 1.071 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.97e-05/1.048, allocations: 15.98 kB / 1.071 GB, free: 5.902 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002072/1.05, allocations: 0.7148 MB / 1.071 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.05, allocations: 11.97 kB / 1.071 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/1.052, allocations: 182.5 kB / 1.071 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/1.053, allocations: 364.2 kB / 1.072 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/1.053, allocations: 12 kB / 1.072 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.053, allocations: 24 kB / 1.072 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001408/1.055, allocations: 479.3 kB / 1.072 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/1.056, allocations: 0.7203 MB / 1.073 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/1.056, allocations: 7.922 kB / 1.073 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/1.057, allocations: 4 kB / 1.073 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/1.057, allocations: 56.56 kB / 1.073 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/1.063, allocations: 4.506 MB / 1.077 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/1.065, allocations: 442.3 kB / 1.078 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/1.065, allocations: 250.7 kB / 1.078 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/1.065, allocations: 11.17 kB / 1.078 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/1.065, allocations: 38.5 kB / 1.078 GB, free: 14.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/1.065, allocations: 0 / 1.078 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001914/1.067, allocations: 0.6043 MB / 1.079 GB, free: 13.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.067, allocations: 81.11 kB / 1.079 GB, free: 13.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/1.068, allocations: 286.8 kB / 1.079 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/1.068, allocations: 33.73 kB / 1.079 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/1.068, allocations: 273 kB / 1.079 GB, free: 13.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.068, allocations: 116.5 kB / 1.079 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/1.068, allocations: 0 / 1.079 GB, free: 13.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.069, allocations: 348.6 kB / 1.08 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/1.069, allocations: 218.9 kB / 1.08 GB, free: 12.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/1.07, allocations: 438.7 kB / 1.08 GB, free: 12.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/1.071, allocations: 289.1 kB / 1.081 GB, free: 12.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.071, allocations: 4 kB / 1.081 GB, free: 12.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001867/1.073, allocations: 0.6671 MB / 1.081 GB, free: 11.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001205/1.074, allocations: 2.783 MB / 1.084 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.074, allocations: 4 kB / 1.084 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/1.074, allocations: 12 kB / 1.084 GB, free: 8.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.076, allocations: 163.1 kB / 1.084 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/1.076, allocations: 19.92 kB / 1.084 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/1.077, allocations: 51.8 kB / 1.084 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/1.077, allocations: 27.44 kB / 1.084 GB, free: 8.316 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.077, allocations: 4 kB / 1.084 GB, free: 8.312 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/1.078, allocations: 490.7 kB / 1.085 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.078, allocations: 8 kB / 1.085 GB, free: 7.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.078, allocations: 12.88 kB / 1.085 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.079, allocations: 150.9 kB / 1.085 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.079, allocations: 15.92 kB / 1.085 GB, free: 7.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/1.08, allocations: 55.59 kB / 1.085 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/1.08, allocations: 23.25 kB / 1.085 GB, free: 7.688 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002537/1.08, allocations: 123.2 kB / 1.085 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.081, allocations: 39.53 kB / 1.085 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.082, allocations: 0.5145 MB / 1.086 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.082, allocations: 4 kB / 1.086 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.082, allocations: 4 kB / 1.086 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.082, allocations: 0 / 1.086 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/1.086, allocations: 1.486 MB / 1.087 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.086, allocations: 4 kB / 1.087 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.087, allocations: 112.2 kB / 1.087 GB, free: 5.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.812e-05/1.088, allocations: 8 kB / 1.087 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/1.088, allocations: 7.938 kB / 1.087 GB, free: 5.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.088, allocations: 7.984 kB / 1.087 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.088, allocations: 7.938 kB / 1.087 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001583/1.089, allocations: 0.9165 MB / 1.088 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/1.09, allocations: 162.5 kB / 1.088 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.09, allocations: 4 kB / 1.088 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/1.091, allocations: 39.95 kB / 1.088 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/1.091, allocations: 35.03 kB / 1.088 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/1.091, allocations: 11.44 kB / 1.088 GB, free: 4.484 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000354/1.091, allocations: 217.3 kB / 1.089 GB, free: 4.309 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001379/1.092, allocations: 184 kB / 1.089 GB, free: 4.129 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/1.093, allocations: 118.4 kB / 1.089 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.095, allocations: 0.8003 MB / 1.09 GB, free: 3.422 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.095, allocations: 5.5 kB / 1.09 GB, free: 3.418 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/1.096, allocations: 243.4 kB / 1.09 GB, free: 3.238 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.097, allocations: 100.4 kB / 1.09 GB, free: 3.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.099, allocations: 0.8299 MB / 1.091 GB, free: 2.359 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.1, allocations: 0.9278 MB / 1.092 GB, free: 1.422 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.101, allocations: 0 / 1.092 GB, free: 1.422 MB / 0.698 GB Notification: Performance of Templates: time 0.02384/1.124, allocations: 7.671 MB / 1.099 GB, free: 9.797 MB / 0.7136 GB