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.VariablePowerSource.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.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [: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.265/2.265, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001576/0.001576, allocations: 185 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.242/2.242, 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.001856/0.001856, allocations: 94.89 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.959e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2159, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8341/1.05, allocations: 153.7 MB / 1.038 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005429/1.051, allocations: 89.56 kB / 1.038 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1038/1.155, allocations: 16.6 MB / 1.054 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.251e-05/1.155, allocations: 8 kB / 1.054 GB, free: 4.293 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001722/1.156, allocations: 0.6076 MB / 1.055 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.156, allocations: 8.031 kB / 1.055 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/1.158, allocations: 103.5 kB / 1.055 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/1.158, allocations: 285.6 kB / 1.055 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/1.159, allocations: 8 kB / 1.055 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/1.159, allocations: 16 kB / 1.055 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007798/1.159, allocations: 253.8 kB / 1.056 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/1.16, allocations: 349.3 kB / 1.056 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.16, allocations: 4 kB / 1.056 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/1.16, allocations: 0 / 1.056 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/1.16, allocations: 28.23 kB / 1.056 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/1.164, allocations: 1.612 MB / 1.058 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/1.165, allocations: 336.8 kB / 1.058 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/1.166, allocations: 155.9 kB / 1.058 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/1.166, allocations: 101 kB / 1.058 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/1.166, allocations: 212.5 kB / 1.058 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=27): time 3.146e-06/1.166, allocations: 4 kB / 1.058 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28): time 0.001711/1.168, allocations: 441 kB / 1.059 GB, free: 168 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/1.168, allocations: 77.11 kB / 1.059 GB, free: 72 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/1.169, allocations: 181.9 kB / 1.059 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/1.169, allocations: 29.69 kB / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/1.169, allocations: 151.7 kB / 1.059 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.169, allocations: 89.88 kB / 1.059 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.169, allocations: 4 kB / 1.059 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.169, allocations: 338.5 kB / 1.06 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/1.17, allocations: 130.6 kB / 1.06 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/1.17, allocations: 202.3 kB / 1.06 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/1.171, allocations: 158.8 kB / 1.06 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.171, allocations: 0 / 1.06 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001555/1.172, allocations: 437.8 kB / 1.061 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005406/1.173, allocations: 0.8682 MB / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.173, allocations: 4 kB / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/1.174, allocations: 43.25 kB / 1.061 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009392/1.175, allocations: 91 kB / 1.062 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.177, allocations: 1.416 MB / 1.063 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/1.178, allocations: 47.91 kB / 1.063 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/1.178, allocations: 15.31 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.178, allocations: 6.5 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/1.179, allocations: 355.8 kB / 1.063 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.179, allocations: 0 / 1.063 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/1.18, allocations: 42.95 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/1.18, allocations: 87.47 kB / 1.063 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.183, allocations: 1.405 MB / 1.065 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000698/1.183, allocations: 51.84 kB / 1.065 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/1.183, allocations: 19.81 kB / 1.065 GB, free: 10.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.184, allocations: 108.9 kB / 1.065 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/1.184, allocations: 23.72 kB / 1.065 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.185, allocations: 398.8 kB / 1.065 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.185, allocations: 4 kB / 1.065 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.185, allocations: 0 / 1.065 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.185, allocations: 3.984 kB / 1.065 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/1.186, allocations: 0.5158 MB / 1.066 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/1.186, allocations: 0 / 1.066 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/1.187, allocations: 79.95 kB / 1.066 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/1.187, allocations: 43.39 kB / 1.066 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/1.187, allocations: 0 / 1.066 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/1.189, allocations: 1.344 MB / 1.067 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.189, allocations: 0 / 1.067 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/1.191, allocations: 0.4985 MB / 1.068 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/1.191, allocations: 137.6 kB / 1.068 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/1.191, allocations: 7.906 kB / 1.068 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/1.192, allocations: 39.95 kB / 1.068 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.192, allocations: 27.02 kB / 1.068 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/1.192, allocations: 8 kB / 1.068 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002325/1.192, allocations: 160 kB / 1.068 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009538/1.193, allocations: 120 kB / 1.068 GB, free: 6.781 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002609/1.193, allocations: 133.5 kB / 1.068 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.195, allocations: 0.7661 MB / 1.069 GB, free: 6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.195, allocations: 256 / 1.069 GB, free: 6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/1.196, allocations: 275.8 kB / 1.069 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/1.197, allocations: 44.53 kB / 1.069 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/1.198, allocations: 488.3 kB / 1.07 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007378/1.199, allocations: 0.8178 MB / 1.071 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of SimCode: time 1.412e-06/1.199, allocations: 4 kB / 1.071 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of Templates: time 0.01767/1.217, allocations: 5.686 MB / 1.076 GB, free: 14.79 MB / 0.698 GB