Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.4 MB / 139.7 MB, free: 15.5 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001195/0.001195, allocations: 175.2 kB / 171.6 MB, free: 2.02 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.413/1.413, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001823/0.001823, allocations: 114.9 kB / 444.4 MB, free: 9.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5228/0.5228, allocations: 73.4 MB / 0.666 GB, free: 62.5 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/5.972, allocations: 2.41 GB / 3.076 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/5.972, allocations: 87.14 kB / 3.076 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.665/8.637, allocations: 0.6715 GB / 3.747 GB, free: 58.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.002611/8.639, allocations: 284.5 kB / 3.747 GB, free: 58.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2205 * Number of variables: 2205 Notification: Performance of Generate backend data structure: time 0.04919/8.689, allocations: 10.07 MB / 3.757 GB, free: 53.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/8.689, allocations: 9.094 kB / 3.757 GB, free: 53.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/8.71, allocations: 2.274 MB / 3.759 GB, free: 53.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07925/8.789, allocations: 22.65 MB / 3.782 GB, free: 36.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/8.79, allocations: 279.9 kB / 3.782 GB, free: 35.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007021/8.797, allocations: 0.531 MB / 3.782 GB, free: 35.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03308/8.83, allocations: 10.23 MB / 3.792 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04359/8.874, allocations: 11.16 MB / 3.803 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006358/8.874, allocations: 35.66 kB / 3.803 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004124/8.879, allocations: 20 kB / 3.803 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/8.879, allocations: 291.9 kB / 3.804 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5402/9.419, allocations: 48.07 MB / 3.851 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009018/9.428, allocations: 4.302 MB / 3.855 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007133/9.435, allocations: 4.11 MB / 3.859 GB, free: 102 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/9.437, allocations: 0.6743 MB / 3.859 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007868/9.445, allocations: 4.219 MB / 3.864 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=582): time 1.09e-05/9.445, allocations: 0 / 3.864 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=612): time 0.07842/9.523, allocations: 21.18 MB / 3.884 GB, free: 99.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/9.523, allocations: 327 kB / 3.885 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01811/9.542, allocations: 7.471 MB / 3.892 GB, free: 98.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002703/9.544, allocations: 29.11 kB / 3.892 GB, free: 98.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.009026/9.553, allocations: 3.163 MB / 3.895 GB, free: 97.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00902/9.562, allocations: 2.034 MB / 3.897 GB, free: 96.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/9.564, allocations: 3.281 kB / 3.897 GB, free: 96.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0007362/9.565, allocations: 0.602 MB / 3.898 GB, free: 95.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007556/9.572, allocations: 3.795 MB / 3.901 GB, free: 95.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/9.583, allocations: 5.534 MB / 3.907 GB, free: 93.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/9.601, allocations: 6.113 MB / 3.913 GB, free: 93.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/9.602, allocations: 12.19 kB / 3.913 GB, free: 93.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=944) (initialization): time 0.04147/9.643, allocations: 12.8 MB / 3.925 GB, free: 93.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.01037/9.653, allocations: 24.74 MB / 3.949 GB, free: 66.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004068/9.654, allocations: 59.03 kB / 3.949 GB, free: 66.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009344/9.663, allocations: 1.787 MB / 3.951 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/9.675, allocations: 1.859 MB / 3.953 GB, free: 66.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/9.692, allocations: 9.18 MB / 3.962 GB, free: 64.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/9.708, allocations: 0.519 MB / 3.962 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003315/9.711, allocations: 365.1 kB / 3.963 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/9.711, allocations: 3.594 kB / 3.963 GB, free: 64.3 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03935/9.751, allocations: 11.97 MB / 3.974 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/9.751, allocations: 49.31 kB / 3.974 GB, free: 64.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008304/9.759, allocations: 1.89 MB / 3.976 GB, free: 64.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/9.771, allocations: 1.854 MB / 3.978 GB, free: 64.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/9.788, allocations: 9.2 MB / 3.987 GB, free: 61.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/9.803, allocations: 0.5113 MB / 3.988 GB, free: 61.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003587/9.807, allocations: 363 kB / 3.988 GB, free: 61.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 877 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 59,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003558/9.811, allocations: 288.9 kB / 3.988 GB, free: 61.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00403/9.815, allocations: 0.7874 MB / 3.989 GB, free: 60.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03112/9.846, allocations: 11.75 MB / 4 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/9.846, allocations: 80.48 kB / 4.001 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/9.846, allocations: 3.562 kB / 4.001 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02344/9.869, allocations: 9.505 MB / 4.01 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07476/9.944, allocations: 22.13 MB / 4.031 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/9.944, allocations: 12.75 kB / 4.031 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009154/9.953, allocations: 1.362 MB / 4.033 GB, free: 46.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/9.958, allocations: 1.411 MB / 4.034 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00208/9.96, allocations: 150.3 kB / 4.034 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4658/10.43, allocations: 19.53 MB / 4.053 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.858e-05/10.43, allocations: 20.16 kB / 4.053 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03768/10.46, allocations: 18.85 MB / 4.072 GB, free: 97.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01117/10.47, allocations: 2.286 MB / 4.074 GB, free: 97.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005132/10.48, allocations: 60.98 kB / 4.074 GB, free: 97.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01378/10.49, allocations: 0.5652 MB / 4.075 GB, free: 97.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/10.5, allocations: 398.7 kB / 4.075 GB, free: 97.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001192/10.5, allocations: 284.1 kB / 4.075 GB, free: 97.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.01563/10.51, allocations: 5.725 MB / 4.081 GB, free: 97.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.03783/10.55, allocations: 4.395 MB / 4.085 GB, free: 97.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 30 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,datRea.nextTimeEvent) * Number of discrete states: 3 (datRea.nextTimeEvent,weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (598): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 31 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 31 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.009354/10.56, allocations: 1.846 MB / 4.087 GB, free: 96.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.04403/10.6, allocations: 15.6 MB / 4.102 GB, free: 96.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.5e-05/10.6, allocations: 5.188 kB / 4.102 GB, free: 96.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01244/10.62, allocations: 4.519 MB / 4.107 GB, free: 96.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03461/10.65, allocations: 4.571 MB / 4.111 GB, free: 95.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08333/10.73, allocations: 21.41 MB / 4.132 GB, free: 92.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01772/10.75, allocations: 8.036 MB / 4.14 GB, free: 91.31 MB / 0.6355 GB Notification: Performance of SimCode: time 2.845e-06/10.75, allocations: 3.75 kB / 4.14 GB, free: 91.31 MB / 0.6355 GB Notification: Performance of Templates: time 0.9544/11.71, allocations: 256.3 MB / 4.39 GB, free: 106.2 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)