Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.973/1.973, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 181.3 kB / 487 MB, free: 5.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009394/0.0009393, allocations: 93.5 kB / 0.9213 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5093/0.5103, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.7525, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.05/3.803, allocations: 1.731 GB / 2.936 GB, free: 106.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/3.803, allocations: 91.44 kB / 2.937 GB, free: 106 MB / 1.151 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.1326/3.936, allocations: 65.77 MB / 3.001 GB, free: 44.62 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/3.936, allocations: 11.98 kB / 3.001 GB, free: 44.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/3.937, allocations: 226.2 kB / 3.001 GB, free: 44.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/3.938, allocations: 0.7756 MB / 3.002 GB, free: 43.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/3.938, allocations: 32 kB / 3.002 GB, free: 43.54 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/3.938, allocations: 52 kB / 3.002 GB, free: 43.49 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/3.939, allocations: 1.026 MB / 3.003 GB, free: 42.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/3.94, allocations: 0.8014 MB / 3.004 GB, free: 41.62 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/3.94, allocations: 3.938 kB / 3.004 GB, free: 41.62 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/3.94, allocations: 0 / 3.004 GB, free: 41.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/3.94, allocations: 27.91 kB / 3.004 GB, free: 41.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/3.944, allocations: 2.566 MB / 3.006 GB, free: 38.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/3.944, allocations: 0.6372 MB / 3.007 GB, free: 38.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/3.945, allocations: 234.8 kB / 3.007 GB, free: 38.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/3.945, allocations: 24.69 kB / 3.007 GB, free: 38.05 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/3.945, allocations: 370.1 kB / 3.007 GB, free: 37.67 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 2.234e-06/3.945, allocations: 0 / 3.007 GB, free: 37.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.001337/3.947, allocations: 0.644 MB / 3.008 GB, free: 37.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/3.947, allocations: 244 kB / 3.008 GB, free: 36.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000598/3.947, allocations: 0.6136 MB / 3.009 GB, free: 36.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/3.947, allocations: 25.7 kB / 3.009 GB, free: 36.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/3.947, allocations: 375.6 kB / 3.009 GB, free: 35.69 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/3.947, allocations: 212.8 kB / 3.009 GB, free: 35.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/3.948, allocations: 0 / 3.009 GB, free: 35.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/3.948, allocations: 334 kB / 3.01 GB, free: 35.15 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/3.948, allocations: 181.3 kB / 3.01 GB, free: 34.97 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/3.948, allocations: 286.4 kB / 3.01 GB, free: 34.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/3.948, allocations: 235 kB / 3.01 GB, free: 34.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/3.948, allocations: 3.984 kB / 3.01 GB, free: 34.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001248/3.95, allocations: 0.6519 MB / 3.011 GB, free: 33.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/3.95, allocations: 4 kB / 3.011 GB, free: 33.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/3.95, allocations: 0 / 3.011 GB, free: 33.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/3.95, allocations: 88.83 kB / 3.011 GB, free: 33.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/3.951, allocations: 127.8 kB / 3.011 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/3.952, allocations: 1.461 MB / 3.013 GB, free: 31.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/3.953, allocations: 67.59 kB / 3.013 GB, free: 31.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/3.953, allocations: 27.89 kB / 3.013 GB, free: 31.87 MB / 1.151 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.0001283/3.953, allocations: 113.1 kB / 3.013 GB, free: 31.75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/3.953, allocations: 94.86 kB / 3.013 GB, free: 31.66 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/3.955, allocations: 0.9064 MB / 3.014 GB, free: 30.74 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/3.955, allocations: 12 kB / 3.014 GB, free: 30.73 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/3.955, allocations: 0 / 3.014 GB, free: 30.73 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/3.955, allocations: 3.984 kB / 3.014 GB, free: 30.72 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/3.956, allocations: 0.8152 MB / 3.015 GB, free: 29.87 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/3.956, allocations: 3.984 kB / 3.015 GB, free: 29.87 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/3.956, allocations: 147.7 kB / 3.015 GB, free: 29.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/3.957, allocations: 80.78 kB / 3.015 GB, free: 29.64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/3.957, allocations: 19.98 kB / 3.015 GB, free: 29.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/3.958, allocations: 1.485 MB / 3.016 GB, free: 28.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/3.958, allocations: 0 / 3.016 GB, free: 28.02 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/3.96, allocations: 0.7442 MB / 3.017 GB, free: 27.25 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001334/3.961, allocations: 1.166 MB / 3.018 GB, free: 26.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/3.961, allocations: 283.7 kB / 3.019 GB, free: 25.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/3.961, allocations: 4 kB / 3.019 GB, free: 25.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/3.962, allocations: 59.94 kB / 3.019 GB, free: 25.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/3.962, allocations: 48.7 kB / 3.019 GB, free: 25.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/3.962, allocations: 27.98 kB / 3.019 GB, free: 25.62 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004407/3.963, allocations: 495.1 kB / 3.019 GB, free: 25.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001517/3.964, allocations: 438.7 kB / 3.02 GB, free: 24.71 MB / 1.151 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.001276/3.965, allocations: 1.052 MB / 3.021 GB, free: 23.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009197/3.966, allocations: 0.6273 MB / 3.021 GB, free: 23.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/3.966, allocations: 0 / 3.021 GB, free: 23.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/3.967, allocations: 444.6 kB / 3.022 GB, free: 22.68 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/3.968, allocations: 353.4 kB / 3.022 GB, free: 22.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/3.971, allocations: 1.507 MB / 3.023 GB, free: 20.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/3.972, allocations: 1.205 MB / 3.025 GB, free: 19.57 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/3.972, allocations: 0 / 3.025 GB, free: 19.57 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat does not exist to compare? outputFormat=mat