Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7082/0.7082, allocations: 141.8 MB / 149.1 MB, free: 4.457 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001392, allocations: 176.3 kB / 181.9 MB, free: 120 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 221.3 MB / 436 MB, free: 9.23 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 97.09 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 272.7 kB / 0.5884 GB, free: 12.28 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.592e-06, allocations: 0 / 0.6759 GB, free: 2.648 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.479, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.867/3.346, allocations: 1.69 GB / 2.447 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/3.346, allocations: 93.06 kB / 2.447 GB, free: 100.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.1962/3.542, allocations: 92.02 MB / 2.537 GB, free: 8.102 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001442/3.542, allocations: 43.94 kB / 2.537 GB, free: 8.059 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003439/3.546, allocations: 1.692 MB / 2.539 GB, free: 6.309 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/3.546, allocations: 15.97 kB / 2.539 GB, free: 6.293 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/3.548, allocations: 401.3 kB / 2.539 GB, free: 5.898 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/3.55, allocations: 1.023 MB / 2.54 GB, free: 4.82 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/3.55, allocations: 48 kB / 2.54 GB, free: 4.773 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/3.551, allocations: 76 kB / 2.54 GB, free: 4.699 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002649/3.553, allocations: 1.879 MB / 2.542 GB, free: 2.816 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/3.555, allocations: 1.269 MB / 2.543 GB, free: 1.457 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/3.555, allocations: 7.938 kB / 2.543 GB, free: 1.449 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/3.555, allocations: 4 kB / 2.543 GB, free: 1.445 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/3.556, allocations: 32 kB / 2.543 GB, free: 1.414 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2305/3.786, allocations: 4.279 MB / 2.547 GB, free: 264.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/3.788, allocations: 1.255 MB / 2.549 GB, free: 264.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/3.788, allocations: 478.4 kB / 2.549 GB, free: 264.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/3.788, allocations: 60.8 kB / 2.549 GB, free: 264.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/3.789, allocations: 0.6911 MB / 2.55 GB, free: 264.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=136): time 3.717e-06/3.789, allocations: 0 / 2.55 GB, free: 264.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=136): time 0.003044/3.793, allocations: 1.237 MB / 2.551 GB, free: 264.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/3.793, allocations: 458.7 kB / 2.551 GB, free: 263.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/3.794, allocations: 0.9147 MB / 2.552 GB, free: 263.4 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/3.794, allocations: 29.58 kB / 2.552 GB, free: 263.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/3.794, allocations: 448.9 kB / 2.553 GB, free: 263.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/3.794, allocations: 437.6 kB / 2.553 GB, free: 262.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/3.794, allocations: 0 / 2.553 GB, free: 262.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/3.794, allocations: 355.2 kB / 2.553 GB, free: 262.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/3.795, allocations: 368.8 kB / 2.554 GB, free: 262.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/3.796, allocations: 0.5837 MB / 2.554 GB, free: 262.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/3.796, allocations: 492.1 kB / 2.555 GB, free: 262.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/3.796, allocations: 4.844 kB / 2.555 GB, free: 262.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002676/3.799, allocations: 1.272 MB / 2.556 GB, free: 262.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/3.799, allocations: 7.656 kB / 2.556 GB, free: 262.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/3.799, allocations: 0 / 2.556 GB, free: 262.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/3.8, allocations: 168.6 kB / 2.556 GB, free: 262.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/3.801, allocations: 274.4 kB / 2.557 GB, free: 262.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/3.804, allocations: 2.929 MB / 2.559 GB, free: 259.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/3.806, allocations: 130.2 kB / 2.56 GB, free: 259.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/3.806, allocations: 59.53 kB / 2.56 GB, free: 259.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 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 prepare postOptimizeDAE: time 0.0002578/3.806, allocations: 127.8 kB / 2.56 GB, free: 259.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/3.806, allocations: 141.3 kB / 2.56 GB, free: 259.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/3.811, allocations: 1.891 MB / 2.562 GB, free: 259.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/3.811, allocations: 16.91 kB / 2.562 GB, free: 259.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/3.811, allocations: 3.906 kB / 2.562 GB, free: 259.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/3.811, allocations: 8.812 kB / 2.562 GB, free: 259.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/3.812, allocations: 1.319 MB / 2.563 GB, free: 259.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/3.812, allocations: 3.688 kB / 2.563 GB, free: 259.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/3.813, allocations: 280.4 kB / 2.563 GB, free: 259.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009893/3.814, allocations: 169.9 kB / 2.563 GB, free: 259.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.85e-05/3.815, allocations: 29.81 kB / 2.563 GB, free: 259.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/3.818, allocations: 2.973 MB / 2.566 GB, free: 256.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.818, allocations: 0 / 2.566 GB, free: 256.8 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002976/3.821, allocations: 1.467 MB / 2.568 GB, free: 256.6 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/3.821, allocations: 474.7 kB / 2.568 GB, free: 256.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/3.822, allocations: 3.188 kB / 2.568 GB, free: 256.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/3.823, allocations: 116.8 kB / 2.568 GB, free: 256.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/3.823, allocations: 99.86 kB / 2.568 GB, free: 256.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/3.823, allocations: 67.19 kB / 2.569 GB, free: 256.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008014/3.824, allocations: 0.7129 MB / 2.569 GB, free: 256.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001321/3.825, allocations: 0.4926 MB / 2.57 GB, free: 256.3 MB / 0.6982 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.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/3.826, allocations: 1.136 MB / 2.571 GB, free: 256.1 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002/3.829, allocations: 1.275 MB / 2.572 GB, free: 255.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/3.829, allocations: 3.719 kB / 2.572 GB, free: 255.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/3.83, allocations: 0.8548 MB / 2.573 GB, free: 255.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/3.831, allocations: 416.1 kB / 2.573 GB, free: 255.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/3.837, allocations: 2.553 MB / 2.576 GB, free: 255.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/3.838, allocations: 1.514 MB / 2.577 GB, free: 254.4 MB / 0.6982 GB Notification: Performance of SimCode: time 1.002e-06/3.838, allocations: 0 / 2.577 GB, free: 254.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.04417/3.883, allocations: 28.63 MB / 2.605 GB, free: 252.6 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)