Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.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.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",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 2.128/2.128, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002442/0.002442, allocations: 174.2 kB / 490.8 MB, free: 11.22 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.484/1.484, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009473/0.0009478, allocations: 85.98 kB / 0.9264 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3453/0.3463, allocations: 149.1 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/1.246, allocations: 143 MB / 1.212 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.227/3.473, allocations: 0.8139 GB / 2.026 GB, free: 353.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/3.473, allocations: 87.09 kB / 2.026 GB, free: 353.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 3.828/7.302, allocations: 0.912 GB / 2.938 GB, free: 272 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/7.302, allocations: 10.48 kB / 2.938 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/7.305, allocations: 488.2 kB / 2.938 GB, free: 272 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/7.308, allocations: 0.9902 MB / 2.939 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/7.309, allocations: 29.88 kB / 2.939 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/7.309, allocations: 61.47 kB / 2.939 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002378/7.311, allocations: 0.8975 MB / 2.94 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/7.313, allocations: 0.9041 MB / 2.941 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/7.313, allocations: 0 / 2.941 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/7.313, allocations: 0 / 2.941 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.099e-05/7.313, allocations: 35.84 kB / 2.941 GB, free: 271.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006064/7.319, allocations: 3.56 MB / 2.944 GB, free: 270.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/7.32, allocations: 0.6232 MB / 2.945 GB, free: 270.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/7.321, allocations: 430.2 kB / 2.945 GB, free: 270.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/7.321, allocations: 214 kB / 2.946 GB, free: 270 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/7.321, allocations: 46.97 kB / 2.946 GB, free: 270 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.757e-06/7.321, allocations: 0 / 2.946 GB, free: 270 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002558/7.324, allocations: 0.9595 MB / 2.947 GB, free: 269.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/7.324, allocations: 59.44 kB / 2.947 GB, free: 269.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/7.324, allocations: 475 kB / 2.947 GB, free: 269.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/7.324, allocations: 25.7 kB / 2.947 GB, free: 269.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/7.325, allocations: 329.5 kB / 2.948 GB, free: 269.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/7.325, allocations: 214.3 kB / 2.948 GB, free: 269.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/7.325, allocations: 0 / 2.948 GB, free: 269.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001105/7.325, allocations: 379.1 kB / 2.948 GB, free: 269.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/7.325, allocations: 295.1 kB / 2.948 GB, free: 269.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/7.326, allocations: 397.8 kB / 2.949 GB, free: 269 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/7.327, allocations: 494.6 kB / 2.949 GB, free: 269 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/7.327, allocations: 0 / 2.949 GB, free: 269 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001574/7.328, allocations: 0.915 MB / 2.95 GB, free: 268.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/7.328, allocations: 453.4 kB / 2.951 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/7.328, allocations: 6.5 kB / 2.951 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/7.329, allocations: 5.062 kB / 2.951 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/7.329, allocations: 140 kB / 2.951 GB, free: 268.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003385/7.33, allocations: 0.6054 MB / 2.951 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/7.331, allocations: 108.7 kB / 2.951 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/7.331, allocations: 33.73 kB / 2.951 GB, free: 267.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/7.331, allocations: 3.875 kB / 2.951 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/7.332, allocations: 0.8203 MB / 2.952 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/7.332, allocations: 3.531 kB / 2.952 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/7.332, allocations: 3.875 kB / 2.952 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/7.333, allocations: 129.4 kB / 2.952 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/7.333, allocations: 2.969 kB / 2.952 GB, free: 267.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/7.334, allocations: 118.8 kB / 2.952 GB, free: 267.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/7.334, allocations: 32.44 kB / 2.952 GB, free: 267.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/7.334, allocations: 119.9 kB / 2.953 GB, free: 267.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/7.334, allocations: 67.38 kB / 2.953 GB, free: 267.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/7.336, allocations: 0.963 MB / 2.954 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/7.336, allocations: 3.781 kB / 2.954 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/7.336, allocations: 1.688 kB / 2.954 GB, free: 267.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001389/7.337, allocations: 0.9054 MB / 2.954 GB, free: 267.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/7.342, allocations: 2.509 MB / 2.957 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/7.342, allocations: 6.938 kB / 2.957 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/7.343, allocations: 130.2 kB / 2.957 GB, free: 266.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/7.343, allocations: 42.2 kB / 2.957 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/7.343, allocations: 21.91 kB / 2.957 GB, free: 266.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/7.344, allocations: 1.205 MB / 2.958 GB, free: 265.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/7.344, allocations: 3.75 kB / 2.958 GB, free: 265.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003175/7.347, allocations: 1.619 MB / 2.96 GB, free: 265.2 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003689/7.351, allocations: 2.462 MB / 2.962 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/7.351, allocations: 250 kB / 2.963 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/7.351, allocations: 17.53 kB / 2.963 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/7.352, allocations: 68.44 kB / 2.963 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/7.352, allocations: 41.12 kB / 2.963 GB, free: 264.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/7.352, allocations: 33.64 kB / 2.963 GB, free: 264.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0004616/7.353, allocations: 369.2 kB / 2.963 GB, free: 264.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004131/7.357, allocations: 1.025 MB / 2.964 GB, free: 264 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003036/7.36, allocations: 1.479 MB / 2.965 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001932/7.362, allocations: 1.182 MB / 2.967 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/7.362, allocations: 0 / 2.967 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000576/7.362, allocations: 403.2 kB / 2.967 GB, free: 263.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/7.365, allocations: 405.4 kB / 2.967 GB, free: 263.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/7.368, allocations: 1.961 MB / 2.969 GB, free: 263.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009709/7.369, allocations: 1.239 MB / 2.971 GB, free: 262.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/7.369, allocations: 3.75 kB / 2.971 GB, free: 262.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1)