Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [: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 1.6.0+build.1/package.mo): time 0.4677/0.4677, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00108/0.00108, allocations: 171.4 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.146/1.146, allocations: 170.5 MB / 319 MB, free: 9.344 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001671/0.001671, allocations: 104.2 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.125e-05/1.127e-05, allocations: 8 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 61.51 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.495/8.64, allocations: 4.477 GB / 4.975 GB, free: 33.81 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/8.64, allocations: 83.95 kB / 4.975 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.5118/9.152, allocations: 110.2 MB / 5.083 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001369/9.152, allocations: 40.64 kB / 5.083 GB, free: 129.1 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.003183/9.156, allocations: 1.858 MB / 5.085 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/9.156, allocations: 9.031 kB / 5.085 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009793/9.157, allocations: 229.9 kB / 5.085 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/9.158, allocations: 0.8271 MB / 5.086 GB, free: 126 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/9.158, allocations: 44 kB / 5.086 GB, free: 126 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/9.158, allocations: 79.98 kB / 5.086 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/9.16, allocations: 1.789 MB / 5.087 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/9.162, allocations: 1.135 MB / 5.089 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/9.162, allocations: 3.938 kB / 5.089 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/9.162, allocations: 7.984 kB / 5.089 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/9.162, allocations: 28 kB / 5.089 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/9.168, allocations: 5.062 MB / 5.094 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/9.169, allocations: 1.13 MB / 5.095 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/9.17, allocations: 453.3 kB / 5.095 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/9.171, allocations: 2.054 MB / 5.097 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008455/9.172, allocations: 0.6457 MB / 5.098 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=131): time 3.477e-06/9.172, allocations: 0 / 5.098 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=131): time 0.003795/9.176, allocations: 1.318 MB / 5.099 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/9.176, allocations: 411.6 kB / 5.099 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/9.177, allocations: 0.7211 MB / 5.1 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/9.177, allocations: 33.7 kB / 5.1 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/9.177, allocations: 412.7 kB / 5.101 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/9.178, allocations: 405.8 kB / 5.101 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/9.178, allocations: 4 kB / 5.101 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001245/9.178, allocations: 402.7 kB / 5.101 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/9.178, allocations: 378.5 kB / 5.102 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/9.179, allocations: 0.5209 MB / 5.102 GB, free: 108 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/9.181, allocations: 0.6453 MB / 5.103 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/9.181, allocations: 4.938 kB / 5.103 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003905/9.185, allocations: 1.444 MB / 5.104 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/9.185, allocations: 7.984 kB / 5.104 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/9.185, allocations: 0 / 5.104 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/9.186, allocations: 165.5 kB / 5.104 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/9.187, allocations: 215.7 kB / 5.105 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/9.19, allocations: 2.753 MB / 5.107 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/9.191, allocations: 79.09 kB / 5.107 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/9.191, allocations: 56.03 kB / 5.107 GB, free: 102.4 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 12 * 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003726/9.191, allocations: 251.3 kB / 5.108 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/9.191, allocations: 128 kB / 5.108 GB, free: 102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005081/9.196, allocations: 1.886 MB / 5.11 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/9.196, allocations: 16 kB / 5.11 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/9.196, allocations: 0 / 5.11 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/9.196, allocations: 11.97 kB / 5.11 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/9.198, allocations: 1.136 MB / 5.111 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/9.198, allocations: 0 / 5.111 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/9.199, allocations: 239.5 kB / 5.111 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008871/9.2, allocations: 157.6 kB / 5.111 GB, free: 98.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/9.2, allocations: 31.97 kB / 5.111 GB, free: 98.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/9.202, allocations: 2.79 MB / 5.114 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/9.202, allocations: 8 kB / 5.114 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003933/9.206, allocations: 1.524 MB / 5.115 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/9.207, allocations: 455 kB / 5.116 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/9.207, allocations: 11.98 kB / 5.116 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/9.208, allocations: 55.86 kB / 5.116 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/9.208, allocations: 89.17 kB / 5.116 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/9.208, allocations: 59.97 kB / 5.116 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008829/9.209, allocations: 0.5694 MB / 5.117 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00187/9.211, allocations: 0.4984 MB / 5.117 GB, free: 92.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 4 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/9.213, allocations: 0.7394 MB / 5.118 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002364/9.216, allocations: 1.554 MB / 5.119 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/9.216, allocations: 0 / 5.119 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/9.217, allocations: 0.9291 MB / 5.12 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/9.219, allocations: 267 kB / 5.12 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/9.225, allocations: 1.958 MB / 5.122 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/9.226, allocations: 1.394 MB / 5.124 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.402e-06/9.226, allocations: 0 / 5.124 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.03688/9.263, allocations: 21.37 MB / 5.145 GB, free: 64.08 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)