Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.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.BaseClasses.Examples.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity") [: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.487/0.487, allocations: 94.74 MB / 102 MB, free: 10.34 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.001185/0.001185, allocations: 173.7 kB / 125.3 MB, free: 11.96 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.197/1.197, allocations: 170.5 MB / 319 MB, free: 9.211 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.001596/0.001596, allocations: 103 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.608e-06, allocations: 4 kB / 448.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 61.52 MB / 0.4981 GB, free: 4.453 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4737, allocations: 94.74 MB / 0.5907 GB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4741, allocations: 82.25 kB / 0.5907 GB, free: 7.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01712/0.4912, allocations: 6.096 MB / 0.5967 GB, free: 1.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.4913, allocations: 4 kB / 0.5967 GB, free: 1.504 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008304/0.4921, allocations: 0.5312 MB / 0.5972 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4922, allocations: 12.02 kB / 0.5972 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.4922, allocations: 24.91 kB / 0.5972 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.4926, allocations: 261.9 kB / 0.5975 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4926, allocations: 8 kB / 0.5975 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.4927, allocations: 12.56 kB / 0.5975 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/0.4938, allocations: 0.7569 MB / 0.5982 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.4941, allocations: 186.1 kB / 0.5984 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4941, allocations: 0 / 0.5984 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4941, allocations: 0 / 0.5984 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4941, allocations: 4 kB / 0.5984 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.4951, allocations: 0.5301 MB / 0.5989 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/0.4956, allocations: 301 kB / 0.5992 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4958, allocations: 101.4 kB / 0.5993 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.4959, allocations: 20.25 kB / 0.5994 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.4962, allocations: 161.8 kB / 0.5995 GB, free: 14.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.4962, allocations: 0 / 0.5995 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.000574/0.4968, allocations: 285.1 kB / 0.5998 GB, free: 14.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.4969, allocations: 85.11 kB / 0.5999 GB, free: 14.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4972, allocations: 233.7 kB / 0.6001 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.4972, allocations: 29.7 kB / 0.6001 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.4973, allocations: 96.69 kB / 0.6002 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4974, allocations: 114.4 kB / 0.6003 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.4974, allocations: 0 / 0.6003 GB, free: 13.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4976, allocations: 334.8 kB / 0.6006 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.4978, allocations: 91.98 kB / 0.6007 GB, free: 13.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.498, allocations: 122 kB / 0.6008 GB, free: 13.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.4982, allocations: 132.3 kB / 0.601 GB, free: 12.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4982, allocations: 0 / 0.601 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005153/0.4987, allocations: 336.9 kB / 0.6013 GB, free: 12.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4988, allocations: 4 kB / 0.6013 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4988, allocations: 0 / 0.6013 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4988, allocations: 9.344 kB / 0.6013 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.499, allocations: 51.92 kB / 0.6013 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.499, allocations: 4 kB / 0.6013 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4992, allocations: 19.86 kB / 0.6014 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.4992, allocations: 17.41 kB / 0.6014 GB, free: 12.47 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: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 2 * 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.0001438/0.4994, allocations: 108.8 kB / 0.6015 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.4994, allocations: 23.72 kB / 0.6015 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007689/0.5002, allocations: 410 kB / 0.6019 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5002, allocations: 4 kB / 0.6019 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5002, allocations: 0 / 0.6019 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5002, allocations: 11.98 kB / 0.6019 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.5006, allocations: 289.8 kB / 0.6022 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5006, allocations: 0 / 0.6022 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.5008, allocations: 59.91 kB / 0.6022 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5008, allocations: 0 / 0.6022 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.5008, allocations: 12 kB / 0.6023 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5008, allocations: 1.562 kB / 0.6023 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5008, allocations: 0 / 0.6023 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004793/0.5013, allocations: 326.4 kB / 0.6026 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.5015, allocations: 154.2 kB / 0.6027 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.5015, allocations: 0 / 0.6027 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.5016, allocations: 7.984 kB / 0.6027 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.5017, allocations: 15.97 kB / 0.6027 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.5017, allocations: 16 kB / 0.6028 GB, free: 11.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001745/0.5019, allocations: 195.6 kB / 0.6029 GB, free: 10.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.5022, allocations: 63.92 kB / 0.603 GB, free: 10.76 MB / 426.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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006085/0.5029, allocations: 241.2 kB / 0.6032 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.5033, allocations: 308.4 kB / 0.6035 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5033, allocations: 0 / 0.6035 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.5035, allocations: 123.8 kB / 0.6036 GB, free: 10.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.5037, allocations: 19.91 kB / 0.6037 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.5045, allocations: 389.5 kB / 0.604 GB, free: 9.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.505, allocations: 0.8039 MB / 0.6048 GB, free: 8.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.505, allocations: 4 kB / 0.6048 GB, free: 8.906 MB / 426.7 MB Notification: Performance of Templates: time 0.007935/0.513, allocations: 3.125 MB / 0.6079 GB, free: 5.887 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRelativeHumidity.pipe 2>&1)