Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") [: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.0009635/0.0009635, allocations: 188.9 kB / 7.803 MB, free: 2.48 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4438/0.4438, allocations: 90.85 MB / 99.07 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.222/1.222, allocations: 221.4 MB / 342.8 MB, free: 5.402 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.0008726/0.0008726, allocations: 101.1 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 72.31 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.85/3.162, allocations: 1.685 GB / 2.237 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/3.162, allocations: 87.94 kB / 2.238 GB, free: 141 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1355/3.298, allocations: 64.47 MB / 2.301 GB, free: 76.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001355/3.298, allocations: 47.88 kB / 2.301 GB, free: 76.42 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002522/3.3, allocations: 1.262 MB / 2.302 GB, free: 75.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/3.301, allocations: 12.03 kB / 2.302 GB, free: 75.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/3.302, allocations: 222.2 kB / 2.302 GB, free: 74.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/3.303, allocations: 0.7834 MB / 2.303 GB, free: 74.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/3.303, allocations: 32 kB / 2.303 GB, free: 74.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/3.303, allocations: 55.91 kB / 2.303 GB, free: 73.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/3.305, allocations: 1.023 MB / 2.304 GB, free: 72.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/3.306, allocations: 0.8013 MB / 2.305 GB, free: 72.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/3.306, allocations: 0 / 2.305 GB, free: 72.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/3.306, allocations: 3.984 kB / 2.305 GB, free: 72.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/3.306, allocations: 24 kB / 2.305 GB, free: 72.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/3.31, allocations: 2.546 MB / 2.307 GB, free: 69.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/3.311, allocations: 0.6295 MB / 2.308 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/3.311, allocations: 236.6 kB / 2.308 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/3.311, allocations: 32.61 kB / 2.308 GB, free: 68.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/3.312, allocations: 370 kB / 2.308 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.284e-06/3.312, allocations: 0 / 2.308 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.001456/3.313, allocations: 0.6441 MB / 2.309 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/3.313, allocations: 243.9 kB / 2.309 GB, free: 67.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/3.314, allocations: 0.6175 MB / 2.31 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/3.314, allocations: 25.7 kB / 2.31 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/3.314, allocations: 367.7 kB / 2.31 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/3.314, allocations: 220.7 kB / 2.31 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/3.314, allocations: 0 / 2.31 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/3.314, allocations: 334 kB / 2.311 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/3.315, allocations: 185.3 kB / 2.311 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/3.315, allocations: 286.4 kB / 2.311 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/3.315, allocations: 231.1 kB / 2.311 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/3.315, allocations: 4 kB / 2.311 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001319/3.317, allocations: 0.6442 MB / 2.312 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/3.317, allocations: 5.219 kB / 2.312 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/3.317, allocations: 4 kB / 2.312 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/3.317, allocations: 88.73 kB / 2.312 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/3.318, allocations: 135.8 kB / 2.312 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/3.32, allocations: 1.465 MB / 2.314 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/3.32, allocations: 59.55 kB / 2.314 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/3.32, allocations: 28.05 kB / 2.314 GB, free: 62.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0001352/3.32, allocations: 120.8 kB / 2.314 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/3.32, allocations: 86.88 kB / 2.314 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/3.322, allocations: 0.9048 MB / 2.315 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/3.322, allocations: 8 kB / 2.315 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/3.322, allocations: 4 kB / 2.315 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/3.322, allocations: 3.984 kB / 2.315 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/3.323, allocations: 0.8201 MB / 2.316 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/3.323, allocations: 0 / 2.316 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/3.324, allocations: 135.8 kB / 2.316 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/3.324, allocations: 84.77 kB / 2.316 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/3.324, allocations: 15.98 kB / 2.316 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/3.326, allocations: 1.496 MB / 2.317 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/3.326, allocations: 0 / 2.317 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001486/3.327, allocations: 0.7482 MB / 2.318 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/3.328, allocations: 291.6 kB / 2.318 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/3.328, allocations: 0 / 2.318 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/3.328, allocations: 51.95 kB / 2.318 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/3.328, allocations: 56.61 kB / 2.319 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/3.329, allocations: 35.91 kB / 2.319 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005378/3.329, allocations: 495.1 kB / 2.319 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001033/3.33, allocations: 354.8 kB / 2.319 GB, free: 56.5 MB / 0.6042 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.001491/3.332, allocations: 1.047 MB / 2.32 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001015/3.333, allocations: 0.6317 MB / 2.321 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/3.333, allocations: 0 / 2.321 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/3.333, allocations: 432.5 kB / 2.321 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/3.335, allocations: 350.5 kB / 2.322 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/3.338, allocations: 1.511 MB / 2.323 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/3.339, allocations: 1.205 MB / 2.324 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/3.339, allocations: 0 / 2.324 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.02846/3.367, allocations: 18.44 MB / 2.342 GB, free: 33.01 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)