Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4686/0.4686, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 98.88 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.498e-06, allocations: 4 kB / 493.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5015, allocations: 72.3 MB / 0.5529 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.175/3.676, allocations: 1.683 GB / 2.236 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/3.677, allocations: 87.95 kB / 2.236 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.2355/3.912, allocations: 92.03 MB / 2.326 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001484/3.912, allocations: 51.92 kB / 2.326 GB, free: 53.16 MB / 0.6042 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.003519/3.916, allocations: 1.696 MB / 2.328 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/3.916, allocations: 16.02 kB / 2.328 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/3.918, allocations: 401.3 kB / 2.328 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/3.921, allocations: 1.019 MB / 2.329 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/3.921, allocations: 44 kB / 2.329 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/3.921, allocations: 72 kB / 2.329 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002919/3.924, allocations: 1.879 MB / 2.331 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/3.926, allocations: 1.277 MB / 2.332 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/3.926, allocations: 4 kB / 2.332 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/3.926, allocations: 3.906 kB / 2.332 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/3.926, allocations: 36 kB / 2.332 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/3.934, allocations: 4.291 MB / 2.337 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/3.935, allocations: 1.259 MB / 2.338 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/3.936, allocations: 471 kB / 2.338 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/3.936, allocations: 57.3 kB / 2.338 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/3.937, allocations: 0.6936 MB / 2.339 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 5.11e-06/3.937, allocations: 0 / 2.339 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.003068/3.94, allocations: 1.236 MB / 2.34 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/3.94, allocations: 462.2 kB / 2.341 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/3.942, allocations: 0.9186 MB / 2.342 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/3.942, allocations: 32.23 kB / 2.342 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/3.942, allocations: 444.7 kB / 2.342 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/3.943, allocations: 433.5 kB / 2.342 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/3.943, allocations: 0 / 2.342 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/3.943, allocations: 349.9 kB / 2.343 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/3.943, allocations: 378.5 kB / 2.343 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/3.944, allocations: 0.5774 MB / 2.344 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/3.945, allocations: 0.4915 MB / 2.344 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.945, allocations: 0 / 2.344 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002901/3.948, allocations: 1.271 MB / 2.345 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/3.948, allocations: 7.984 kB / 2.345 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/3.948, allocations: 0 / 2.345 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/3.949, allocations: 165.8 kB / 2.346 GB, free: 32.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/3.95, allocations: 279.6 kB / 2.346 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/3.953, allocations: 2.933 MB / 2.349 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/3.955, allocations: 131 kB / 2.349 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/3.955, allocations: 52.23 kB / 2.349 GB, free: 29.04 MB / 0.6042 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.0002902/3.955, allocations: 132.8 kB / 2.349 GB, free: 28.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/3.956, allocations: 138.3 kB / 2.349 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/3.96, allocations: 1.876 MB / 2.351 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/3.96, allocations: 16 kB / 2.351 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/3.96, allocations: 3.984 kB / 2.351 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/3.96, allocations: 7.969 kB / 2.351 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/3.962, allocations: 1.321 MB / 2.352 GB, free: 25.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/3.962, allocations: 4 kB / 2.352 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/3.963, allocations: 283.6 kB / 2.353 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000997/3.964, allocations: 169.5 kB / 2.353 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/3.964, allocations: 29.28 kB / 2.353 GB, free: 25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/3.967, allocations: 2.976 MB / 2.356 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/3.967, allocations: 4 kB / 2.356 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00292/3.97, allocations: 1.46 MB / 2.357 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/3.971, allocations: 474.7 kB / 2.358 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/3.971, allocations: 7.906 kB / 2.358 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/3.972, allocations: 115.9 kB / 2.358 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/3.972, allocations: 101.3 kB / 2.358 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/3.972, allocations: 67.89 kB / 2.358 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000935/3.973, allocations: 0.7155 MB / 2.359 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001572/3.975, allocations: 0.4948 MB / 2.359 GB, free: 18.29 MB / 0.6042 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.001933/3.977, allocations: 1.133 MB / 2.36 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002075/3.979, allocations: 1.277 MB / 2.361 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/3.979, allocations: 0 / 2.361 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/3.98, allocations: 0.8527 MB / 2.362 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/3.982, allocations: 430.9 kB / 2.363 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006477/3.989, allocations: 2.558 MB / 2.365 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/3.99, allocations: 1.513 MB / 2.367 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/3.99, allocations: 0 / 2.367 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.2332/4.223, allocations: 28.57 MB / 2.394 GB, free: 217.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)