Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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 2.005/2.005, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001273/0.001273, allocations: 180.5 kB / 487 MB, free: 5.379 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.433/1.433, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001029/0.001029, allocations: 88.66 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5611/0.5622, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.8413, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.459/5.3, allocations: 1.906 GB / 3.111 GB, free: 421.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/5.301, allocations: 91.89 kB / 3.111 GB, free: 421.8 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.7983/6.099, allocations: 412 MB / 3.514 GB, free: 2.246 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/6.099, allocations: 12.94 kB / 3.514 GB, free: 2.234 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/6.102, allocations: 421.5 kB / 3.514 GB, free: 1.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/6.106, allocations: 1.168 MB / 3.515 GB, free: 0.6094 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/6.106, allocations: 44 kB / 3.515 GB, free: 0.5664 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/6.106, allocations: 79.98 kB / 3.515 GB, free: 500 kB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5574/6.664, allocations: 1.39 MB / 3.517 GB, free: 423.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/6.666, allocations: 1.221 MB / 3.518 GB, free: 423.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/6.666, allocations: 0 / 3.518 GB, free: 423.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/6.666, allocations: 4.375 kB / 3.518 GB, free: 423.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/6.666, allocations: 33.25 kB / 3.518 GB, free: 423.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/6.673, allocations: 4.785 MB / 3.523 GB, free: 421.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/6.674, allocations: 1.157 MB / 3.524 GB, free: 421.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/6.675, allocations: 425.7 kB / 3.524 GB, free: 421.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/6.676, allocations: 0.5065 MB / 3.525 GB, free: 420.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/6.676, allocations: 0.5904 MB / 3.525 GB, free: 420.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/6.676, allocations: 3 kB / 3.525 GB, free: 420.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003048/6.679, allocations: 1.141 MB / 3.526 GB, free: 420.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/6.679, allocations: 250.5 kB / 3.527 GB, free: 420.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/6.68, allocations: 0.6188 MB / 3.527 GB, free: 420.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/6.68, allocations: 28.61 kB / 3.527 GB, free: 420.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/6.681, allocations: 463.1 kB / 3.528 GB, free: 420 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/6.681, allocations: 316.2 kB / 3.528 GB, free: 419.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/6.681, allocations: 3.844 kB / 3.528 GB, free: 419.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/6.681, allocations: 338.3 kB / 3.528 GB, free: 419.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/6.682, allocations: 331.4 kB / 3.529 GB, free: 419.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/6.682, allocations: 0.5086 MB / 3.529 GB, free: 419.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/6.683, allocations: 0.5142 MB / 3.53 GB, free: 419.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/6.683, allocations: 3.75 kB / 3.53 GB, free: 419.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002442/6.686, allocations: 1.132 MB / 3.531 GB, free: 419.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/6.686, allocations: 6.875 kB / 3.531 GB, free: 419.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/6.686, allocations: 3.938 kB / 3.531 GB, free: 419.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/6.687, allocations: 85.77 kB / 3.531 GB, free: 419.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/6.688, allocations: 230.6 kB / 3.531 GB, free: 419.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/6.69, allocations: 1.479 MB / 3.532 GB, free: 418 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/6.691, allocations: 105.3 kB / 3.533 GB, free: 418 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/6.691, allocations: 43.83 kB / 3.533 GB, free: 418 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.0002837/6.691, allocations: 137.5 kB / 3.533 GB, free: 417.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/6.692, allocations: 101.6 kB / 3.533 GB, free: 417.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/6.695, allocations: 1.403 MB / 3.534 GB, free: 417.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/6.695, allocations: 11.56 kB / 3.534 GB, free: 417.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/6.695, allocations: 0 / 3.534 GB, free: 417.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/6.695, allocations: 14.72 kB / 3.534 GB, free: 417.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/6.7, allocations: 2.574 MB / 3.537 GB, free: 417.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.7, allocations: 0 / 3.537 GB, free: 417.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/6.701, allocations: 217.5 kB / 3.537 GB, free: 417.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000535/6.702, allocations: 84.19 kB / 3.537 GB, free: 417.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7e-05/6.702, allocations: 19.23 kB / 3.537 GB, free: 417.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/6.703, allocations: 1.487 MB / 3.538 GB, free: 416.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/6.703, allocations: 0 / 3.538 GB, free: 416.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002633/6.706, allocations: 1.264 MB / 3.54 GB, free: 416 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002758/6.709, allocations: 1.741 MB / 3.541 GB, free: 415.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006904/6.709, allocations: 354.2 kB / 3.542 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/6.71, allocations: 7.812 kB / 3.542 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/6.711, allocations: 88.08 kB / 3.542 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/6.711, allocations: 61.98 kB / 3.542 GB, free: 415.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/6.711, allocations: 47.09 kB / 3.542 GB, free: 415.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007261/6.712, allocations: 495.4 kB / 3.542 GB, free: 415.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003314/6.715, allocations: 0.7715 MB / 3.543 GB, free: 415.1 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.003947/6.719, allocations: 1.974 MB / 3.545 GB, free: 414.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00249/6.721, allocations: 0.9889 MB / 3.546 GB, free: 414.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/6.721, allocations: 0 / 3.546 GB, free: 414.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/6.723, allocations: 0.605 MB / 3.547 GB, free: 414.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/6.725, allocations: 340.5 kB / 3.547 GB, free: 414.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005503/6.73, allocations: 1.881 MB / 3.549 GB, free: 414.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/6.732, allocations: 1.356 MB / 3.55 GB, free: 413.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/6.732, allocations: 3.625 kB / 3.55 GB, free: 413.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat