Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") [: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.7347/0.7347, allocations: 141.8 MB / 149.1 MB, free: 3.969 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.001207/0.001208, allocations: 188.5 kB / 181.9 MB, free: 15.7 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.3 MB / 436 MB, free: 8.828 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.0009543/0.0009546, allocations: 99.59 kB / 0.507 GB, free: 24.26 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 284.7 kB / 0.5884 GB, free: 11.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.39e-06, allocations: 0 / 0.6759 GB, free: 2.242 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3841, allocations: 82.77 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.064/3.448, allocations: 1.69 GB / 2.447 GB, free: 41.03 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/3.448, allocations: 80.64 kB / 2.447 GB, free: 40.95 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.4946/3.943, allocations: 60 MB / 2.506 GB, free: 245.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 8.621e-05/3.943, allocations: 27.91 kB / 2.506 GB, free: 245.9 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002627/3.946, allocations: 1.151 MB / 2.507 GB, free: 245.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/3.946, allocations: 10.78 kB / 2.507 GB, free: 245.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/3.947, allocations: 222.5 kB / 2.507 GB, free: 245.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/3.948, allocations: 0.6042 MB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/3.948, allocations: 24.25 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/3.948, allocations: 41.78 kB / 2.508 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001394/3.95, allocations: 0.9708 MB / 2.509 GB, free: 244.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/3.951, allocations: 0.6883 MB / 2.51 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/3.951, allocations: 3.562 kB / 2.51 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/3.951, allocations: 8.328 kB / 2.51 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/3.951, allocations: 19.62 kB / 2.51 GB, free: 244.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/3.954, allocations: 2.272 MB / 2.512 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/3.955, allocations: 0.6416 MB / 2.512 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/3.955, allocations: 257.1 kB / 2.513 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/3.955, allocations: 32.69 kB / 2.513 GB, free: 243.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/3.956, allocations: 392.9 kB / 2.513 GB, free: 243.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/3.956, allocations: 0 / 2.513 GB, free: 243.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=73): time 0.001629/3.958, allocations: 0.6823 MB / 2.514 GB, free: 243.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/3.958, allocations: 246.6 kB / 2.514 GB, free: 243.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/3.958, allocations: 0.5222 MB / 2.514 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/3.958, allocations: 29.58 kB / 2.515 GB, free: 243.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/3.958, allocations: 262.5 kB / 2.515 GB, free: 243.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/3.959, allocations: 233.5 kB / 2.515 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/3.959, allocations: 1.875 kB / 2.515 GB, free: 242.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/3.959, allocations: 384.8 kB / 2.515 GB, free: 242.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/3.959, allocations: 199.6 kB / 2.516 GB, free: 242.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/3.959, allocations: 310.4 kB / 2.516 GB, free: 242.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/3.96, allocations: 259.1 kB / 2.516 GB, free: 242.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/3.96, allocations: 6.594 kB / 2.516 GB, free: 242.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001458/3.961, allocations: 0.6902 MB / 2.517 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/3.961, allocations: 3.875 kB / 2.517 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/3.961, allocations: 3.844 kB / 2.517 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/3.962, allocations: 86.11 kB / 2.517 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/3.963, allocations: 156.3 kB / 2.517 GB, free: 242.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/3.964, allocations: 1.47 MB / 2.518 GB, free: 241 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/3.965, allocations: 74.81 kB / 2.519 GB, free: 240.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/3.965, allocations: 32.92 kB / 2.519 GB, free: 240.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/3.965, allocations: 117 kB / 2.519 GB, free: 240.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/3.965, allocations: 73.78 kB / 2.519 GB, free: 240.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/3.968, allocations: 1.059 MB / 2.52 GB, free: 240.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/3.968, allocations: 7.625 kB / 2.52 GB, free: 240.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/3.968, allocations: 0.5625 kB / 2.52 GB, free: 240.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/3.968, allocations: 3.516 kB / 2.52 GB, free: 240.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/3.969, allocations: 0.7545 MB / 2.521 GB, free: 240.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/3.969, allocations: 0.75 kB / 2.521 GB, free: 240.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006495/3.969, allocations: 161.3 kB / 2.521 GB, free: 240.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/3.97, allocations: 90.38 kB / 2.521 GB, free: 240.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/3.97, allocations: 18.86 kB / 2.521 GB, free: 240.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/3.971, allocations: 1.485 MB / 2.522 GB, free: 238.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/3.971, allocations: 0 / 2.522 GB, free: 238.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001892/3.973, allocations: 0.7922 MB / 2.523 GB, free: 238.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004308/3.974, allocations: 287.6 kB / 2.523 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/3.974, allocations: 9.625 kB / 2.523 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/3.975, allocations: 65.81 kB / 2.523 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/3.975, allocations: 52.62 kB / 2.523 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.755e-05/3.975, allocations: 35.02 kB / 2.523 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006404/3.976, allocations: 431.5 kB / 2.524 GB, free: 237.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001149/3.977, allocations: 345.2 kB / 2.524 GB, free: 237.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/3.978, allocations: 1.072 MB / 2.525 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001107/3.979, allocations: 0.6761 MB / 2.526 GB, free: 237.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/3.979, allocations: 0 / 2.526 GB, free: 237.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/3.98, allocations: 465.6 kB / 2.526 GB, free: 237 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/3.981, allocations: 211.4 kB / 2.527 GB, free: 237 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/3.984, allocations: 1.34 MB / 2.528 GB, free: 236.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008331/3.985, allocations: 1.113 MB / 2.529 GB, free: 235.8 MB / 0.6982 GB Notification: Performance of SimCode: time 4.71e-07/3.985, allocations: 1.531 kB / 2.529 GB, free: 235.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.03136/4.017, allocations: 17.45 MB / 2.546 GB, free: 224.1 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)