Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.802/1.802, allocations: 390.4 MB / 397.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009808/0.0009806, allocations: 177.7 kB / 490.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.4 MB / 0.7863 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 97.52 kB / 0.9264 GB, free: 64.45 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.2298/0.2307, allocations: 149.2 MB / 1.072 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.4754, allocations: 143 MB / 1.212 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.657/3.132, allocations: 1.732 GB / 2.944 GB, free: 20.66 MB / 1.154 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/3.132, allocations: 86.05 kB / 2.944 GB, free: 20.58 MB / 1.154 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.4984/3.631, allocations: 65.76 MB / 3.008 GB, free: 394.9 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/3.631, allocations: 8.531 kB / 3.008 GB, free: 394.9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/3.632, allocations: 223.6 kB / 3.008 GB, free: 394.9 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/3.633, allocations: 0.7805 MB / 3.009 GB, free: 394.5 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/3.633, allocations: 30.34 kB / 3.009 GB, free: 394.5 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/3.633, allocations: 57.69 kB / 3.009 GB, free: 394.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001415/3.634, allocations: 1.022 MB / 3.01 GB, free: 394.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/3.636, allocations: 0.8057 MB / 3.011 GB, free: 394.4 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/3.636, allocations: 0.6562 kB / 3.011 GB, free: 394.4 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/3.636, allocations: 1.375 kB / 3.011 GB, free: 394.4 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/3.636, allocations: 27.28 kB / 3.011 GB, free: 394.4 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/3.639, allocations: 2.554 MB / 3.013 GB, free: 393.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/3.64, allocations: 0.6284 MB / 3.014 GB, free: 393.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/3.64, allocations: 235.8 kB / 3.014 GB, free: 393.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/3.64, allocations: 29.83 kB / 3.014 GB, free: 393.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004667/3.641, allocations: 370.7 kB / 3.015 GB, free: 393.4 MB / 1.154 GB Notification: Performance of pre-optimization done (n=69): time 2.094e-06/3.641, allocations: 0 / 3.015 GB, free: 393.4 MB / 1.154 GB Notification: Performance of matching and sorting (n=69): time 0.001458/3.642, allocations: 0.6456 MB / 3.015 GB, free: 393.3 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/3.642, allocations: 243.1 kB / 3.015 GB, free: 393 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/3.643, allocations: 0.6161 MB / 3.016 GB, free: 392.9 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/3.643, allocations: 26.67 kB / 3.016 GB, free: 392.9 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/3.643, allocations: 368.3 kB / 3.016 GB, free: 392.6 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/3.643, allocations: 215.2 kB / 3.017 GB, free: 392.5 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/3.643, allocations: 0.875 kB / 3.017 GB, free: 392.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/3.643, allocations: 328.8 kB / 3.017 GB, free: 392.2 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/3.644, allocations: 188.1 kB / 3.017 GB, free: 392.2 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/3.644, allocations: 286.4 kB / 3.017 GB, free: 392.1 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/3.644, allocations: 236.8 kB / 3.018 GB, free: 392.1 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/3.645, allocations: 0 / 3.018 GB, free: 392.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001419/3.646, allocations: 0.647 MB / 3.018 GB, free: 392 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/3.646, allocations: 8.219 kB / 3.018 GB, free: 392 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/3.646, allocations: 0.9688 kB / 3.018 GB, free: 392 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/3.647, allocations: 80.28 kB / 3.018 GB, free: 392 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/3.647, allocations: 136.6 kB / 3.018 GB, free: 392 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/3.649, allocations: 1.461 MB / 3.02 GB, free: 390.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/3.649, allocations: 63 kB / 3.02 GB, free: 390.7 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/3.649, allocations: 30.2 kB / 3.02 GB, free: 390.7 MB / 1.154 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.0001267/3.649, allocations: 124.4 kB / 3.02 GB, free: 390.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/3.65, allocations: 89.94 kB / 3.02 GB, free: 390.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/3.652, allocations: 0.9011 MB / 3.021 GB, free: 390.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-06/3.652, allocations: 11.8 kB / 3.021 GB, free: 390.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/3.652, allocations: 0 / 3.021 GB, free: 390.4 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/3.652, allocations: 5.328 kB / 3.021 GB, free: 390.4 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/3.653, allocations: 0.8204 MB / 3.022 GB, free: 390.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/3.653, allocations: 5.062 kB / 3.022 GB, free: 390.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/3.653, allocations: 140.3 kB / 3.022 GB, free: 390.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/3.654, allocations: 86.47 kB / 3.022 GB, free: 390.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/3.654, allocations: 12.83 kB / 3.022 GB, free: 390.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/3.655, allocations: 1.478 MB / 3.024 GB, free: 389 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.655, allocations: 3.5 kB / 3.024 GB, free: 389 MB / 1.154 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001387/3.657, allocations: 0.7504 MB / 3.024 GB, free: 388.8 MB / 1.154 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001497/3.658, allocations: 1.174 MB / 3.025 GB, free: 388.3 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/3.658, allocations: 285.5 kB / 3.026 GB, free: 388.1 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/3.659, allocations: 3.938 kB / 3.026 GB, free: 388.1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/3.659, allocations: 51.72 kB / 3.026 GB, free: 388.1 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/3.659, allocations: 55.45 kB / 3.026 GB, free: 388 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/3.659, allocations: 26.98 kB / 3.026 GB, free: 388 MB / 1.154 GB Notification: Performance of sort global known variables: time 0.0004718/3.66, allocations: 498.4 kB / 3.026 GB, free: 387.8 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001537/3.661, allocations: 434.5 kB / 3.027 GB, free: 387.6 MB / 1.154 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.00132/3.663, allocations: 1.059 MB / 3.028 GB, free: 387.3 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009435/3.664, allocations: 0.6278 MB / 3.028 GB, free: 387 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/3.664, allocations: 0 / 3.028 GB, free: 387 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/3.664, allocations: 436.2 kB / 3.029 GB, free: 386.8 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/3.665, allocations: 353.7 kB / 3.029 GB, free: 386.8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/3.669, allocations: 1.513 MB / 3.031 GB, free: 386.2 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/3.669, allocations: 1.199 MB / 3.032 GB, free: 385.4 MB / 1.154 GB Notification: Performance of SimCode: time 9.82e-07/3.67, allocations: 0 / 3.032 GB, free: 385.4 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat