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.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [: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.383/2.383, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.00238/0.002379, allocations: 185 kB / 319.6 MB, free: 3.332 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.174/2.174, 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.001264/0.001263, allocations: 87.39 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.066e-05/1.082e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2176, allocations: 106.2 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7601/0.9778, allocations: 162 MB / 1.046 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.9783, allocations: 96.44 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.08267/1.061, allocations: 18.81 MB / 1.065 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.628e-05/1.061, allocations: 8 kB / 1.065 GB, free: 10.62 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001435/1.062, allocations: 0.545 MB / 1.065 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.063, allocations: 8.031 kB / 1.065 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/1.064, allocations: 111.5 kB / 1.065 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/1.065, allocations: 287.9 kB / 1.066 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.065, allocations: 8 kB / 1.066 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/1.065, allocations: 15.19 kB / 1.066 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008108/1.066, allocations: 265.4 kB / 1.066 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/1.067, allocations: 406.6 kB / 1.066 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.067, allocations: 4 kB / 1.066 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/1.067, allocations: 0 / 1.066 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/1.067, allocations: 27.98 kB / 1.066 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004266/1.072, allocations: 2.163 MB / 1.068 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/1.072, allocations: 244.4 kB / 1.069 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/1.073, allocations: 157 kB / 1.069 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/1.073, allocations: 8.188 kB / 1.069 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.073, allocations: 30.75 kB / 1.069 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 3.246e-06/1.073, allocations: 0 / 1.069 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.002186/1.075, allocations: 0.8011 MB / 1.07 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.075, allocations: 55.41 kB / 1.07 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/1.075, allocations: 197 kB / 1.07 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/1.075, allocations: 33.7 kB / 1.07 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.076, allocations: 177.9 kB / 1.07 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.076, allocations: 85.31 kB / 1.07 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/1.076, allocations: 0 / 1.07 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.076, allocations: 329.6 kB / 1.07 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/1.076, allocations: 145.8 kB / 1.071 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/1.077, allocations: 219.6 kB / 1.071 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/1.077, allocations: 194.8 kB / 1.071 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.077, allocations: 0 / 1.071 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001983/1.079, allocations: 0.5546 MB / 1.072 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.08, allocations: 8 kB / 1.072 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.08, allocations: 7.984 kB / 1.072 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.081, allocations: 183.8 kB / 1.072 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/1.081, allocations: 55.91 kB / 1.072 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/1.086, allocations: 2.144 MB / 1.074 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/1.087, allocations: 8 kB / 1.074 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/1.087, allocations: 15.11 kB / 1.074 GB, free: 2.031 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.087, allocations: 113.1 kB / 1.074 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/1.087, allocations: 23.72 kB / 1.074 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/1.088, allocations: 343.8 kB / 1.074 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.088, allocations: 8.062 kB / 1.074 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.088, allocations: 3.906 kB / 1.074 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.088, allocations: 0 / 1.074 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/1.09, allocations: 0.7593 MB / 1.075 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.09, allocations: 4 kB / 1.075 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/1.091, allocations: 71.19 kB / 1.075 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/1.091, allocations: 0 / 1.075 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/1.091, allocations: 4.062 kB / 1.075 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.091, allocations: 7.938 kB / 1.075 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.091, allocations: 4 kB / 1.075 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0014/1.092, allocations: 0.621 MB / 1.076 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/1.093, allocations: 134.6 kB / 1.076 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/1.093, allocations: 4 kB / 1.076 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/1.093, allocations: 4 kB / 1.076 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.093, allocations: 18.97 kB / 1.076 GB, free: 216 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/1.093, allocations: 8 kB / 1.076 GB, free: 208 kB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002555/1.094, allocations: 155.9 kB / 1.076 GB, free: 80 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007674/1.094, allocations: 84.05 kB / 1.076 GB, free: 15.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0002757/1.095, allocations: 122.3 kB / 1.076 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001454/1.096, allocations: 490.4 kB / 1.077 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.096, allocations: 0 / 1.077 GB, free: 15.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003885/1.097, allocations: 150.8 kB / 1.077 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/1.097, allocations: 48.86 kB / 1.077 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/1.1, allocations: 0.6995 MB / 1.078 GB, free: 14.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007551/1.1, allocations: 0.8187 MB / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.1, allocations: 0 / 1.078 GB, free: 13.84 MB / 0.698 GB Notification: Performance of Templates: time 0.01354/1.114, allocations: 3.994 MB / 1.082 GB, free: 9.883 MB / 0.698 GB