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.ParallelResistors.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.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [: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.334/2.334, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.00162/0.00162, allocations: 181.2 kB / 319.6 MB, free: 3.293 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.143/2.143, 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.001252/0.001252, allocations: 96.08 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.13e-05/1.164e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7159/0.9222, allocations: 147.8 MB / 1.032 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/0.9226, allocations: 89.75 kB / 1.032 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05293/0.9755, allocations: 12.96 MB / 1.045 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.9756, allocations: 4 kB / 1.045 GB, free: 13.12 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009845/0.9766, allocations: 476.6 kB / 1.046 GB, free: 12.63 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.9767, allocations: 8.031 kB / 1.046 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.9777, allocations: 83.61 kB / 1.046 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.9782, allocations: 233.6 kB / 1.046 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.9783, allocations: 7.906 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.9783, allocations: 8 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005568/0.9789, allocations: 187.9 kB / 1.046 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.9795, allocations: 273.4 kB / 1.046 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.9795, allocations: 0 / 1.046 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.9796, allocations: 7.984 kB / 1.046 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.9796, allocations: 23.92 kB / 1.046 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.9822, allocations: 1.46 MB / 1.048 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.9828, allocations: 229.8 kB / 1.048 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.9831, allocations: 116.4 kB / 1.048 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9831, allocations: 4 kB / 1.048 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.9832, allocations: 41.81 kB / 1.048 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/0.9832, allocations: 0 / 1.048 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0007074/0.9839, allocations: 223.6 kB / 1.048 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.984, allocations: 84.98 kB / 1.048 GB, free: 9.781 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.9842, allocations: 145.2 kB / 1.049 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.9842, allocations: 29.73 kB / 1.049 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.9844, allocations: 135.6 kB / 1.049 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.9844, allocations: 51.17 kB / 1.049 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.9845, allocations: 0 / 1.049 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9846, allocations: 330.5 kB / 1.049 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.9849, allocations: 90.95 kB / 1.049 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.9852, allocations: 154.5 kB / 1.049 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.9854, allocations: 109.9 kB / 1.049 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9855, allocations: 0 / 1.049 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007225/0.9862, allocations: 272.6 kB / 1.05 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.9865, allocations: 0.7062 MB / 1.05 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9865, allocations: 4 kB / 1.05 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.9866, allocations: 4 kB / 1.05 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.9872, allocations: 51.95 kB / 1.05 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.9872, allocations: 7.938 kB / 1.05 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.9876, allocations: 27.83 kB / 1.05 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.9876, allocations: 11.98 kB / 1.051 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.9877, allocations: 10.09 kB / 1.051 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005144/0.9882, allocations: 193.3 kB / 1.051 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9882, allocations: 4 kB / 1.051 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.9882, allocations: 0 / 1.051 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.9887, allocations: 56.12 kB / 1.051 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.9887, allocations: 7.984 kB / 1.051 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.989, allocations: 23.83 kB / 1.051 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.989, allocations: 11.94 kB / 1.051 GB, free: 7.527 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001258/0.9892, allocations: 104.9 kB / 1.051 GB, free: 7.418 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.9893, allocations: 19.75 kB / 1.051 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.99, allocations: 243.7 kB / 1.051 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.99, allocations: 4 kB / 1.051 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.99, allocations: 3.906 kB / 1.051 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.99, allocations: 3.984 kB / 1.051 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.9914, allocations: 0.608 MB / 1.052 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9914, allocations: 4.031 kB / 1.052 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.9919, allocations: 51.8 kB / 1.052 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.9919, allocations: 4 kB / 1.052 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.992, allocations: 0 / 1.052 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.992, allocations: 4 kB / 1.052 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.992, allocations: 0 / 1.052 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007067/0.9927, allocations: 488.1 kB / 1.052 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.9929, allocations: 112.6 kB / 1.052 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.993, allocations: 0 / 1.052 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.9934, allocations: 19.97 kB / 1.052 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.9935, allocations: 15.64 kB / 1.052 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.9935, allocations: 16 kB / 1.052 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001576/0.9937, allocations: 119.9 kB / 1.053 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007754/0.9945, allocations: 79.78 kB / 1.053 GB, free: 5.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001793/0.9946, allocations: 111 kB / 1.053 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009129/0.9956, allocations: 328.6 kB / 1.053 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.9956, allocations: 4.812 kB / 1.053 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.9959, allocations: 114.1 kB / 1.053 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.9964, allocations: 33.77 kB / 1.053 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.9975, allocations: 324.5 kB / 1.054 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.9981, allocations: 0.778 MB / 1.054 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of SimCode: time 7.12e-07/0.9981, allocations: 0 / 1.054 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of Templates: time 0.01029/1.008, allocations: 3.044 MB / 1.057 GB, free: 1.117 MB / 0.6667 GB