Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [: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.204/2.204, allocations: 253.1 MB / 260.4 MB, free: 0.5547 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.00158/0.00158, allocations: 176 kB / 319.6 MB, free: 7.703 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.431/2.431, allocations: 205.4 MB / 0.5704 GB, free: 25.65 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.001847/0.001846, allocations: 103.8 kB / 0.6747 GB, free: 3.094 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.085e-05, allocations: 0 / 0.7843 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5175, allocations: 106.2 MB / 0.8881 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/1.285, allocations: 159.8 MB / 1.044 GB, free: 62.06 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/1.285, allocations: 91.95 kB / 1.044 GB, free: 62.06 MB / 0.6824 GB Notification: Performance of FrontEnd: time 0.07188/1.357, allocations: 17.35 MB / 1.061 GB, free: 60.67 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.553e-05/1.357, allocations: 11.81 kB / 1.061 GB, free: 60.67 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00123/1.358, allocations: 0.5422 MB / 1.062 GB, free: 60.22 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/1.358, allocations: 7.719 kB / 1.062 GB, free: 60.22 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/1.36, allocations: 101.9 kB / 1.062 GB, free: 60.2 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/1.36, allocations: 251.1 kB / 1.062 GB, free: 59.99 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.36, allocations: 7.844 kB / 1.062 GB, free: 59.99 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/1.361, allocations: 11.72 kB / 1.062 GB, free: 59.99 MB / 0.6824 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007295/1.361, allocations: 261.1 kB / 1.062 GB, free: 59.99 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/1.362, allocations: 346.1 kB / 1.063 GB, free: 59.88 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.362, allocations: 3.938 kB / 1.063 GB, free: 59.87 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/1.362, allocations: 3.906 kB / 1.063 GB, free: 59.87 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/1.362, allocations: 26.55 kB / 1.063 GB, free: 59.87 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/1.365, allocations: 1.676 MB / 1.064 GB, free: 58.66 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/1.366, allocations: 282.4 kB / 1.065 GB, free: 58.61 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/1.366, allocations: 183.5 kB / 1.065 GB, free: 58.59 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/1.366, allocations: 91.59 kB / 1.065 GB, free: 58.49 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.855e-05/1.366, allocations: 34.47 kB / 1.065 GB, free: 58.45 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=25): time 2.866e-06/1.366, allocations: 0 / 1.065 GB, free: 58.45 MB / 0.6824 GB Notification: Performance of matching and sorting (n=35): time 0.005074/1.371, allocations: 1.096 MB / 1.066 GB, free: 58.34 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.371, allocations: 84.52 kB / 1.066 GB, free: 58.24 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/1.372, allocations: 157.2 kB / 1.066 GB, free: 58.14 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/1.372, allocations: 25.7 kB / 1.066 GB, free: 58.11 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/1.372, allocations: 138.1 kB / 1.066 GB, free: 58 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/1.372, allocations: 114.4 kB / 1.066 GB, free: 57.92 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/1.372, allocations: 0 / 1.066 GB, free: 57.92 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/1.372, allocations: 333.5 kB / 1.067 GB, free: 57.61 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/1.372, allocations: 217.8 kB / 1.067 GB, free: 57.61 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/1.373, allocations: 311.9 kB / 1.067 GB, free: 57.51 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.374, allocations: 304.4 kB / 1.068 GB, free: 57.5 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.374, allocations: 3.938 kB / 1.068 GB, free: 57.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001887/1.376, allocations: 0.6132 MB / 1.068 GB, free: 57.44 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.376, allocations: 0.8801 MB / 1.069 GB, free: 56.52 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.376, allocations: 0 / 1.069 GB, free: 56.52 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/1.376, allocations: 8.641 kB / 1.069 GB, free: 56.52 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.378, allocations: 150.9 kB / 1.069 GB, free: 56.52 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.378, allocations: 8.656 kB / 1.069 GB, free: 56.51 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/1.379, allocations: 34.91 kB / 1.069 GB, free: 56.51 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/1.379, allocations: 21.03 kB / 1.069 GB, free: 56.51 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.379, allocations: 7.906 kB / 1.069 GB, free: 56.5 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/1.381, allocations: 457.4 kB / 1.07 GB, free: 56.49 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.381, allocations: 7.812 kB / 1.07 GB, free: 56.48 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.381, allocations: 3.906 kB / 1.07 GB, free: 56.48 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.382, allocations: 136.8 kB / 1.07 GB, free: 56.48 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/1.382, allocations: 4.609 kB / 1.07 GB, free: 56.48 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/1.383, allocations: 30.98 kB / 1.07 GB, free: 56.47 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/1.383, allocations: 17.34 kB / 1.07 GB, free: 56.47 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.000183/1.383, allocations: 113.5 kB / 1.07 GB, free: 56.36 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.383, allocations: 27.84 kB / 1.07 GB, free: 56.34 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/1.385, allocations: 0.6442 MB / 1.071 GB, free: 56.27 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.385, allocations: 5.453 kB / 1.071 GB, free: 56.27 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.385, allocations: 0 / 1.071 GB, free: 56.27 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.385, allocations: 5.594 kB / 1.071 GB, free: 56.27 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/1.388, allocations: 1.278 MB / 1.072 GB, free: 55.75 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.388, allocations: 3.906 kB / 1.072 GB, free: 55.75 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.39, allocations: 128.5 kB / 1.072 GB, free: 55.75 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.39, allocations: 3.844 kB / 1.072 GB, free: 55.75 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/1.39, allocations: 4.5 kB / 1.072 GB, free: 55.75 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/1.39, allocations: 8.312 kB / 1.072 GB, free: 55.74 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.39, allocations: 3.938 kB / 1.072 GB, free: 55.74 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001489/1.391, allocations: 0.7842 MB / 1.073 GB, free: 55.31 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/1.392, allocations: 146.5 kB / 1.073 GB, free: 55.2 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/1.392, allocations: 1.922 kB / 1.073 GB, free: 55.2 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/1.392, allocations: 36.56 kB / 1.073 GB, free: 55.2 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.392, allocations: 32.19 kB / 1.073 GB, free: 55.19 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/1.393, allocations: 11.69 kB / 1.073 GB, free: 55.19 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.0001565/1.393, allocations: 131.6 kB / 1.073 GB, free: 55.11 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001007/1.394, allocations: 147.2 kB / 1.073 GB, free: 55.09 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.394, allocations: 142.5 kB / 1.073 GB, free: 54.99 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.396, allocations: 0.7135 MB / 1.074 GB, free: 54.97 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.396, allocations: 1.125 kB / 1.074 GB, free: 54.97 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0005192/1.396, allocations: 227 kB / 1.074 GB, free: 54.96 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/1.397, allocations: 42.3 kB / 1.074 GB, free: 54.95 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/1.399, allocations: 0.583 MB / 1.075 GB, free: 54.76 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.399, allocations: 0.8264 MB / 1.076 GB, free: 54.06 MB / 0.6824 GB Notification: Performance of SimCode: time 1.512e-06/1.399, allocations: 0 / 1.076 GB, free: 54.06 MB / 0.6824 GB Notification: Performance of Templates: time 0.01665/1.416, allocations: 6.585 MB / 1.082 GB, free: 53.68 MB / 0.6824 GB