Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [: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.277/2.277, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.001675/0.001675, allocations: 177.3 kB / 319.6 MB, free: 3.32 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.935/1.935, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00132/0.001319, allocations: 90.47 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.969e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2456, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.737/0.9827, allocations: 150.8 MB / 1.035 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.9831, allocations: 94.92 kB / 1.035 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.04902/1.032, allocations: 11.33 MB / 1.047 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.002e-05/1.032, allocations: 7.984 kB / 1.047 GB, free: 11.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008343/1.033, allocations: 449 kB / 1.047 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.033, allocations: 8.031 kB / 1.047 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009907/1.034, allocations: 75.3 kB / 1.047 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/1.035, allocations: 218.1 kB / 1.047 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/1.035, allocations: 8 kB / 1.047 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/1.035, allocations: 8 kB / 1.047 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000502/1.035, allocations: 166.2 kB / 1.047 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/1.036, allocations: 260.2 kB / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.036, allocations: 0 / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/1.036, allocations: 0 / 1.048 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/1.036, allocations: 16.22 kB / 1.048 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/1.039, allocations: 1.628 MB / 1.049 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/1.039, allocations: 72.7 kB / 1.049 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.039, allocations: 53.19 kB / 1.049 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/1.039, allocations: 3.625 kB / 1.049 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.039, allocations: 30.56 kB / 1.049 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 3.536e-06/1.039, allocations: 0 / 1.049 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0008182/1.04, allocations: 179.7 kB / 1.05 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/1.04, allocations: 85.2 kB / 1.05 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/1.04, allocations: 189.4 kB / 1.05 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.04, allocations: 29.7 kB / 1.05 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/1.041, allocations: 159 kB / 1.05 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/1.041, allocations: 27.38 kB / 1.05 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/1.041, allocations: 0 / 1.05 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.041, allocations: 322.8 kB / 1.05 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.041, allocations: 71.09 kB / 1.05 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.041, allocations: 168.3 kB / 1.051 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.042, allocations: 105.8 kB / 1.051 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.042, allocations: 0 / 1.051 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007877/1.043, allocations: 272.6 kB / 1.051 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005769/1.043, allocations: 1.134 MB / 1.052 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.043, allocations: 4 kB / 1.052 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.043, allocations: 4 kB / 1.052 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.044, allocations: 55.09 kB / 1.052 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.044, allocations: 7.938 kB / 1.052 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/1.044, allocations: 11.98 kB / 1.052 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/1.044, allocations: 8 kB / 1.052 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.044, allocations: 4 kB / 1.052 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006613/1.045, allocations: 203.3 kB / 1.052 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.045, allocations: 7.906 kB / 1.052 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.045, allocations: 4 kB / 1.052 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.045, allocations: 51.22 kB / 1.052 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.045, allocations: 7.938 kB / 1.052 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/1.046, allocations: 11.98 kB / 1.052 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/1.046, allocations: 8.375 kB / 1.052 GB, free: 5.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001323/1.046, allocations: 108.9 kB / 1.053 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/1.046, allocations: 15.81 kB / 1.053 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/1.046, allocations: 124.2 kB / 1.053 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.046, allocations: 4 kB / 1.053 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.046, allocations: 0 / 1.053 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.046, allocations: 0 / 1.053 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/1.048, allocations: 0.5865 MB / 1.053 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.048, allocations: 0 / 1.053 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/1.048, allocations: 24.11 kB / 1.053 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.048, allocations: 0 / 1.053 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/1.048, allocations: 8.188 kB / 1.053 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.048, allocations: 8 kB / 1.053 GB, free: 4.711 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.048, allocations: 3.938 kB / 1.053 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004778/1.048, allocations: 331 kB / 1.054 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/1.049, allocations: 107.6 kB / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/1.049, allocations: 8 kB / 1.054 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/1.049, allocations: 4 kB / 1.054 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/1.049, allocations: 15.83 kB / 1.054 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/1.049, allocations: 4 kB / 1.054 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002263/1.049, allocations: 157.7 kB / 1.054 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007846/1.05, allocations: 75.94 kB / 1.054 GB, free: 3.977 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0002196/1.05, allocations: 122.3 kB / 1.054 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006655/1.051, allocations: 256.8 kB / 1.054 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.051, allocations: 4 kB / 1.054 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/1.051, allocations: 44.55 kB / 1.054 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/1.051, allocations: 23.61 kB / 1.054 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000927/1.052, allocations: 275.5 kB / 1.055 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/1.053, allocations: 0.7619 MB / 1.055 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of SimCode: time 1.313e-06/1.053, allocations: 0 / 1.055 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of Templates: time 0.009085/1.062, allocations: 2.487 MB / 1.058 GB, free: 76 kB / 0.6667 GB