Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") [: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.1/2.1, 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.001623/0.001623, allocations: 189 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 1.937/1.937, 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.001296/0.001295, allocations: 83.77 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.708e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.635/1.845, allocations: 409.5 MB / 1.288 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/1.845, allocations: 88.77 kB / 1.288 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.479/4.324, allocations: 0.6056 GB / 1.894 GB, free: 35.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002484/4.324, allocations: 38.89 kB / 1.894 GB, free: 35.66 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.006/4.33, allocations: 1.765 MB / 1.895 GB, free: 33.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/4.33, allocations: 8.031 kB / 1.895 GB, free: 33.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/4.337, allocations: 0.6885 MB / 1.896 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/4.344, allocations: 1.634 MB / 1.898 GB, free: 31.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/4.344, allocations: 113.3 kB / 1.898 GB, free: 31.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003377/4.344, allocations: 60 kB / 1.898 GB, free: 31.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003176/4.347, allocations: 0.9254 MB / 1.899 GB, free: 30.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/4.35, allocations: 0.9948 MB / 1.9 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/4.35, allocations: 0 / 1.9 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/4.351, allocations: 3.938 kB / 1.9 GB, free: 29.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/4.351, allocations: 24 kB / 1.9 GB, free: 29.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/4.363, allocations: 5.639 MB / 1.905 GB, free: 23.42 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/4.365, allocations: 0.6386 MB / 1.906 GB, free: 22.78 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/4.366, allocations: 442.7 kB / 1.906 GB, free: 22.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/4.367, allocations: 1.243 MB / 1.907 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/4.369, allocations: 0.5105 MB / 1.908 GB, free: 20.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 3.997e-06/4.369, allocations: 4 kB / 1.908 GB, free: 20.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.003468/4.372, allocations: 0.8809 MB / 1.909 GB, free: 19.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/4.372, allocations: 123.4 kB / 1.909 GB, free: 19.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/4.375, allocations: 0.9942 MB / 1.91 GB, free: 18.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/4.375, allocations: 29.7 kB / 1.91 GB, free: 18.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/4.376, allocations: 437.5 kB / 1.91 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004064/4.376, allocations: 223.8 kB / 1.911 GB, free: 17.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/4.376, allocations: 8.062 kB / 1.911 GB, free: 17.56 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/4.376, allocations: 330 kB / 1.911 GB, free: 17.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009529/4.377, allocations: 345.5 kB / 1.911 GB, free: 16.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/4.378, allocations: 0.5913 MB / 1.912 GB, free: 16.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/4.38, allocations: 416.7 kB / 1.912 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/4.38, allocations: 7.938 kB / 1.912 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003403/4.383, allocations: 1.002 MB / 1.913 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002691/4.384, allocations: 1.159 MB / 1.914 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/4.384, allocations: 4 kB / 1.914 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/4.384, allocations: 12 kB / 1.914 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/4.386, allocations: 283.6 kB / 1.915 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/4.387, allocations: 8 kB / 1.915 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/4.39, allocations: 223 kB / 1.915 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/4.39, allocations: 47.97 kB / 1.915 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/4.39, allocations: 6.969 kB / 1.915 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002994/4.393, allocations: 0.8259 MB / 1.916 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/4.394, allocations: 4 kB / 1.916 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/4.394, allocations: 8 kB / 1.916 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/4.396, allocations: 284 kB / 1.916 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/4.396, allocations: 11.98 kB / 1.916 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/4.4, allocations: 215.3 kB / 1.916 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/4.4, allocations: 51.97 kB / 1.916 GB, free: 11.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000345/4.4, allocations: 124.7 kB / 1.916 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004991/4.401, allocations: 142.2 kB / 1.916 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/4.405, allocations: 1.098 MB / 1.918 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/4.405, allocations: 8 kB / 1.918 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/4.405, allocations: 4 kB / 1.918 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002716/4.408, allocations: 0.9086 MB / 1.918 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008625/4.416, allocations: 2.935 MB / 1.921 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/4.416, allocations: 7.938 kB / 1.921 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/4.419, allocations: 251.8 kB / 1.922 GB, free: 5.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/4.419, allocations: 8 kB / 1.922 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/4.419, allocations: 19.97 kB / 1.922 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/4.419, allocations: 15.84 kB / 1.922 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/4.419, allocations: 4 kB / 1.922 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00482/4.424, allocations: 2.024 MB / 1.924 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/4.425, allocations: 460.1 kB / 1.924 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005513/4.426, allocations: 12 kB / 1.924 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/4.429, allocations: 183.7 kB / 1.924 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/4.429, allocations: 60.27 kB / 1.924 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/4.43, allocations: 51.95 kB / 1.924 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001693/4.431, allocations: 0.757 MB / 1.925 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004121/4.436, allocations: 0.8263 MB / 1.926 GB, free: 1.285 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.002071/4.438, allocations: 0.7978 MB / 1.927 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.3976/4.835, allocations: 1.366 MB / 1.928 GB, free: 230 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/4.835, allocations: 0 / 1.928 GB, free: 230 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/4.837, allocations: 0.5022 MB / 1.928 GB, free: 230 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/4.843, allocations: 0.6008 MB / 1.929 GB, free: 230 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006016/4.849, allocations: 2.039 MB / 1.931 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/4.851, allocations: 1.414 MB / 1.932 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/4.851, allocations: 0 / 1.932 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08856/4.939, allocations: 35.37 MB / 1.967 GB, free: 228.2 MB / 0.8698 GB