Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.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.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior") translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior") [: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.5017/0.5017, allocations: 94.74 MB / 102 MB, free: 10.37 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.001079/0.001079, allocations: 182.4 kB / 125.3 MB, free: 12 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.242/1.242, allocations: 170.5 MB / 319 MB, free: 9.348 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.001755/0.001755, allocations: 108.2 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.594e-06/7.625e-06, allocations: 0 / 448.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.142, allocations: 61.52 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4819, allocations: 98.72 MB / 0.5945 GB, free: 3.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4823, allocations: 79.38 kB / 0.5946 GB, free: 3.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.04064/0.5229, allocations: 13.85 MB / 0.6081 GB, free: 5.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.23e-05/0.523, allocations: 12 kB / 0.6081 GB, free: 5.832 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001127/0.5241, allocations: 0.6231 MB / 0.6087 GB, free: 5.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5242, allocations: 8.781 kB / 0.6088 GB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.5244, allocations: 43.53 kB / 0.6088 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.525, allocations: 345.1 kB / 0.6091 GB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.525, allocations: 8 kB / 0.6091 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.525, allocations: 20 kB / 0.6092 GB, free: 4.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003252/0.5254, allocations: 169.2 kB / 0.6093 GB, free: 4.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5257, allocations: 196.8 kB / 0.6095 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5257, allocations: 0 / 0.6095 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.5258, allocations: 0 / 0.6095 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.5258, allocations: 8.75 kB / 0.6095 GB, free: 4.344 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.527, allocations: 0.7246 MB / 0.6102 GB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.5273, allocations: 174.7 kB / 0.6104 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.5275, allocations: 76.89 kB / 0.6105 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.5281, allocations: 0.7188 MB / 0.6112 GB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5281, allocations: 34.56 kB / 0.6112 GB, free: 2.391 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.5281, allocations: 0 / 0.6112 GB, free: 2.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008348/0.529, allocations: 234.5 kB / 0.6114 GB, free: 2.156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.529, allocations: 60.44 kB / 0.6115 GB, free: 2.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5293, allocations: 197.1 kB / 0.6117 GB, free: 1.891 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5293, allocations: 25.7 kB / 0.6117 GB, free: 1.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5295, allocations: 168.2 kB / 0.6118 GB, free: 1.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.5295, allocations: 74.83 kB / 0.6119 GB, free: 1.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5295, allocations: 0 / 0.6119 GB, free: 1.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5297, allocations: 342.7 kB / 0.6122 GB, free: 1.273 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.5298, allocations: 48.56 kB / 0.6123 GB, free: 1.223 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.94e-05/0.5299, allocations: 52.84 kB / 0.6123 GB, free: 1.172 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.5304, allocations: 113.3 kB / 0.6124 GB, free: 1.062 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5305, allocations: 0 / 0.6124 GB, free: 1.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007763/0.5312, allocations: 268.2 kB / 0.6127 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.5313, allocations: 4 kB / 0.6127 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5313, allocations: 0 / 0.6127 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.5313, allocations: 4 kB / 0.6127 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.5317, allocations: 63.91 kB / 0.6128 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5317, allocations: 4 kB / 0.6128 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.5319, allocations: 31.67 kB / 0.6128 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.532, allocations: 4 kB / 0.6128 GB, free: 0.6914 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001105/0.5321, allocations: 108.9 kB / 0.6129 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.5322, allocations: 27.62 kB / 0.6129 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.5329, allocations: 282.4 kB / 0.6132 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5329, allocations: 4 kB / 0.6132 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5329, allocations: 0 / 0.6132 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5329, allocations: 0 / 0.6132 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.5333, allocations: 285.9 kB / 0.6135 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5333, allocations: 0 / 0.6135 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.5335, allocations: 43.97 kB / 0.6135 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5335, allocations: 10.34 kB / 0.6135 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5335, allocations: 0 / 0.6135 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5335, allocations: 3.938 kB / 0.6135 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5335, allocations: 0 / 0.6135 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004944/0.534, allocations: 213.7 kB / 0.6137 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5342, allocations: 112.8 kB / 0.6139 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/0.5342, allocations: 0 / 0.6139 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.5344, allocations: 11.98 kB / 0.6139 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.5344, allocations: 7.984 kB / 0.6139 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.5345, allocations: 4 kB / 0.6139 GB, free: 15.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001828/0.5346, allocations: 171 kB / 0.614 GB, free: 15.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.5351, allocations: 99.7 kB / 0.6141 GB, free: 15.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0003288/0.5354, allocations: 139.1 kB / 0.6143 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.5357, allocations: 142.1 kB / 0.6144 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5357, allocations: 2.531 kB / 0.6144 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.5358, allocations: 59.94 kB / 0.6145 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5363, allocations: 74.61 kB / 0.6145 GB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.5371, allocations: 322.3 kB / 0.6148 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.5376, allocations: 0.8056 MB / 0.6156 GB, free: 13.67 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5376, allocations: 0 / 0.6156 GB, free: 13.67 MB / 442.7 MB Notification: Performance of Templates: time 0.007963/0.5455, allocations: 3.57 MB / 0.6191 GB, free: 10.18 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1)