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: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [: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.001375/0.00138, allocations: 192.5 kB / 7.806 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.4763/0.4763, allocations: 90.86 MB / 99.08 MB, free: 14.96 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.256/1.256, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.0009742/0.0009743, allocations: 104.4 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2126/0.2136, allocations: 78.44 MB / 494 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.5716, allocations: 72.3 MB / 0.553 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.112/3.683, allocations: 1.685 GB / 2.238 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/3.683, allocations: 87.94 kB / 2.238 GB, free: 143.8 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.1394/3.823, allocations: 65.79 MB / 2.302 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/3.823, allocations: 8 kB / 2.302 GB, free: 77.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/3.824, allocations: 226.2 kB / 2.302 GB, free: 77.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/3.825, allocations: 0.7802 MB / 2.303 GB, free: 76.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/3.825, allocations: 28 kB / 2.303 GB, free: 76.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/3.825, allocations: 55.91 kB / 2.303 GB, free: 76.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/3.827, allocations: 1.027 MB / 2.304 GB, free: 75.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/3.828, allocations: 0.7975 MB / 2.305 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/3.828, allocations: 0 / 2.305 GB, free: 74.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/3.828, allocations: 8 kB / 2.305 GB, free: 74.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/3.828, allocations: 24.56 kB / 2.305 GB, free: 74.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/3.832, allocations: 2.558 MB / 2.307 GB, free: 72.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/3.832, allocations: 0.6314 MB / 2.308 GB, free: 71.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/3.833, allocations: 235.4 kB / 2.308 GB, free: 71.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/3.833, allocations: 28.69 kB / 2.308 GB, free: 71.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/3.833, allocations: 370.1 kB / 2.309 GB, free: 71.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/3.833, allocations: 0 / 2.309 GB, free: 71.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.001559/3.835, allocations: 0.6324 MB / 2.309 GB, free: 70.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/3.835, allocations: 256.5 kB / 2.309 GB, free: 70.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/3.836, allocations: 0.6097 MB / 2.31 GB, free: 69.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/3.836, allocations: 33.58 kB / 2.31 GB, free: 69.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/3.836, allocations: 371.7 kB / 2.31 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/3.836, allocations: 220.7 kB / 2.311 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/3.836, allocations: 0 / 2.311 GB, free: 68.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/3.836, allocations: 322 kB / 2.311 GB, free: 68.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/3.836, allocations: 186.3 kB / 2.311 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/3.837, allocations: 290.4 kB / 2.311 GB, free: 68.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/3.837, allocations: 231 kB / 2.312 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/3.837, allocations: 0 / 2.312 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001372/3.839, allocations: 0.6442 MB / 2.312 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/3.839, allocations: 8 kB / 2.312 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/3.839, allocations: 64 / 2.312 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/3.839, allocations: 92.62 kB / 2.312 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/3.84, allocations: 131.8 kB / 2.312 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/3.842, allocations: 1.461 MB / 2.314 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/3.842, allocations: 70.97 kB / 2.314 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/3.842, allocations: 27.98 kB / 2.314 GB, free: 65.21 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.0001405/3.842, allocations: 116.9 kB / 2.314 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/3.842, allocations: 94.88 kB / 2.314 GB, free: 65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/3.845, allocations: 0.8997 MB / 2.315 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/3.845, allocations: 8 kB / 2.315 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/3.845, allocations: 3.938 kB / 2.315 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/3.845, allocations: 3.984 kB / 2.315 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/3.845, allocations: 0.8186 MB / 2.316 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/3.845, allocations: 4 kB / 2.316 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/3.846, allocations: 135.9 kB / 2.316 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/3.847, allocations: 84.72 kB / 2.316 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/3.847, allocations: 19.98 kB / 2.316 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.848, allocations: 1.484 MB / 2.317 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/3.848, allocations: 0 / 2.317 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00136/3.85, allocations: 0.7481 MB / 2.318 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001488/3.851, allocations: 1.163 MB / 2.319 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/3.851, allocations: 295.8 kB / 2.32 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/3.852, allocations: 3.984 kB / 2.32 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/3.852, allocations: 55.86 kB / 2.32 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/3.852, allocations: 52.69 kB / 2.32 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/3.852, allocations: 31.98 kB / 2.32 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005241/3.853, allocations: 491.1 kB / 2.32 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001745/3.855, allocations: 430.8 kB / 2.321 GB, free: 58.09 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.00148/3.856, allocations: 1.048 MB / 2.322 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00109/3.857, allocations: 0.6238 MB / 2.322 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/3.857, allocations: 4.125 kB / 2.322 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006144/3.858, allocations: 436.5 kB / 2.323 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/3.859, allocations: 353.9 kB / 2.323 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/3.863, allocations: 1.515 MB / 2.325 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/3.864, allocations: 1.201 MB / 2.326 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/3.864, allocations: 0 / 2.326 GB, free: 52.95 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)