Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.991/1.991, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001134/0.001134, allocations: 189.2 kB / 490.8 MB, free: 1.953 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.388/1.388, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 89.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6127/0.6138, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.8875, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/5.499, allocations: 1.907 GB / 3.118 GB, free: 404.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/5.499, allocations: 83.95 kB / 3.118 GB, free: 404.5 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 1.443/6.942, allocations: 412 MB / 3.521 GB, free: 279.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/6.942, allocations: 15.23 kB / 3.521 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/6.945, allocations: 421.9 kB / 3.521 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/6.948, allocations: 1.168 MB / 3.522 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/6.948, allocations: 43.69 kB / 3.522 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/6.948, allocations: 78.28 kB / 3.522 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/6.95, allocations: 1.396 MB / 3.524 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/6.952, allocations: 1.226 MB / 3.525 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/6.952, allocations: 3.469 kB / 3.525 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/6.952, allocations: 3.188 kB / 3.525 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/6.952, allocations: 34.41 kB / 3.525 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007412/6.96, allocations: 4.775 MB / 3.53 GB, free: 276.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/6.961, allocations: 1.15 MB / 3.531 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/6.962, allocations: 432.9 kB / 3.531 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007904/6.963, allocations: 0.5012 MB / 3.532 GB, free: 276.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008988/6.964, allocations: 0.594 MB / 3.532 GB, free: 276 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.517e-06/6.964, allocations: 3.875 kB / 3.532 GB, free: 276 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003302/6.967, allocations: 1.141 MB / 3.533 GB, free: 275.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.934e-05/6.967, allocations: 246.1 kB / 3.534 GB, free: 275.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/6.968, allocations: 0.6157 MB / 3.534 GB, free: 275.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/6.968, allocations: 25.7 kB / 3.534 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/6.969, allocations: 474.7 kB / 3.535 GB, free: 275.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/6.969, allocations: 316.7 kB / 3.535 GB, free: 275.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/6.969, allocations: 0 / 3.535 GB, free: 275.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/6.969, allocations: 341 kB / 3.535 GB, free: 274.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/6.969, allocations: 329.8 kB / 3.536 GB, free: 274.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/6.97, allocations: 0.5081 MB / 3.536 GB, free: 274.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/6.971, allocations: 0.5142 MB / 3.537 GB, free: 274.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/6.971, allocations: 3.812 kB / 3.537 GB, free: 274.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00258/6.974, allocations: 1.137 MB / 3.538 GB, free: 274.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/6.974, allocations: 3.875 kB / 3.538 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/6.974, allocations: 3.969 kB / 3.538 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/6.975, allocations: 80.91 kB / 3.538 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/6.976, allocations: 239.3 kB / 3.538 GB, free: 274.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/6.978, allocations: 1.469 MB / 3.54 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/6.979, allocations: 111 kB / 3.54 GB, free: 273.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/6.979, allocations: 35.7 kB / 3.54 GB, free: 273.2 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.0002733/6.979, allocations: 137.8 kB / 3.54 GB, free: 273.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/6.979, allocations: 104.5 kB / 3.54 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/6.983, allocations: 1.396 MB / 3.541 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/6.983, allocations: 14.59 kB / 3.541 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/6.983, allocations: 0 / 3.541 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/6.983, allocations: 11.77 kB / 3.541 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/6.987, allocations: 2.566 MB / 3.544 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/6.987, allocations: 3.656 kB / 3.544 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/6.988, allocations: 221.7 kB / 3.544 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/6.989, allocations: 82.09 kB / 3.544 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/6.989, allocations: 20.59 kB / 3.544 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/6.991, allocations: 1.493 MB / 3.546 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/6.991, allocations: 6 kB / 3.546 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00264/6.993, allocations: 1.255 MB / 3.547 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002972/6.996, allocations: 1.739 MB / 3.549 GB, free: 270.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006551/6.997, allocations: 358.6 kB / 3.549 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/6.997, allocations: 7.5 kB / 3.549 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/6.998, allocations: 87.58 kB / 3.549 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/6.999, allocations: 60.7 kB / 3.549 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/6.999, allocations: 49.75 kB / 3.549 GB, free: 270.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008566/7, allocations: 494.6 kB / 3.55 GB, free: 270.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003609/7.003, allocations: 0.7643 MB / 3.55 GB, free: 270.3 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.003402/7.007, allocations: 1.984 MB / 3.552 GB, free: 269.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00176/7.008, allocations: 0.9862 MB / 3.553 GB, free: 269.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/7.008, allocations: 2.875 kB / 3.553 GB, free: 269.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/7.009, allocations: 0.6049 MB / 3.554 GB, free: 269.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/7.011, allocations: 357 kB / 3.554 GB, free: 269.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/7.016, allocations: 1.875 MB / 3.556 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/7.017, allocations: 1.347 MB / 3.557 GB, free: 268.5 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/7.017, allocations: 2.531 kB / 3.557 GB, free: 268.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat does not exist to compare? outputFormat=mat