Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.367/2.367, 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.001364/0.001364, allocations: 185.2 kB / 490.8 MB, free: 1.961 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.618/1.618, allocations: 221.4 MB / 0.7863 GB, free: 13.77 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.001179/0.001179, allocations: 104.4 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7977/0.7989, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/1.141, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.112/6.253, allocations: 2.166 GB / 3.378 GB, free: 119.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003873/6.254, allocations: 93.25 kB / 3.378 GB, free: 119.1 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.674/7.928, allocations: 490.3 MB / 3.856 GB, free: 86.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/7.928, allocations: 8 kB / 3.856 GB, free: 86.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/7.931, allocations: 0.5014 MB / 3.857 GB, free: 86.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/7.934, allocations: 1.382 MB / 3.858 GB, free: 85.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/7.934, allocations: 28 kB / 3.858 GB, free: 85 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/7.934, allocations: 64 kB / 3.858 GB, free: 84.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001895/7.936, allocations: 1.183 MB / 3.859 GB, free: 83.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/7.938, allocations: 1.136 MB / 3.861 GB, free: 82.61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/7.938, allocations: 3.984 kB / 3.861 GB, free: 82.61 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/7.938, allocations: 3.938 kB / 3.861 GB, free: 82.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/7.938, allocations: 38 kB / 3.861 GB, free: 82.56 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00668/7.945, allocations: 4.991 MB / 3.866 GB, free: 77.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/7.946, allocations: 0.9153 MB / 3.866 GB, free: 76.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/7.946, allocations: 0.5753 MB / 3.867 GB, free: 75.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/7.947, allocations: 202.8 kB / 3.867 GB, free: 75.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/7.947, allocations: 43.22 kB / 3.867 GB, free: 75.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 3.476e-06/7.947, allocations: 0 / 3.867 GB, free: 75.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.00528/7.952, allocations: 2.577 MB / 3.87 GB, free: 72.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/7.952, allocations: 60.06 kB / 3.87 GB, free: 72.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009652/7.953, allocations: 0.783 MB / 3.871 GB, free: 71.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/7.953, allocations: 29.7 kB / 3.871 GB, free: 71.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/7.953, allocations: 391.9 kB / 3.871 GB, free: 71.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/7.954, allocations: 275.8 kB / 3.871 GB, free: 71.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/7.954, allocations: 0 / 3.871 GB, free: 71.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.954, allocations: 342 kB / 3.872 GB, free: 70.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/7.954, allocations: 441.3 kB / 3.872 GB, free: 70.45 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/7.955, allocations: 0.5954 MB / 3.873 GB, free: 69.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/7.956, allocations: 0.5509 MB / 3.873 GB, free: 69.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/7.956, allocations: 0 / 3.873 GB, free: 69.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0017/7.957, allocations: 1.209 MB / 3.874 GB, free: 68.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/7.957, allocations: 1.05 MB / 3.875 GB, free: 66.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/7.957, allocations: 0 / 3.875 GB, free: 66.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/7.958, allocations: 76.72 kB / 3.875 GB, free: 66.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/7.959, allocations: 195.7 kB / 3.876 GB, free: 66.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/7.961, allocations: 2.904 MB / 3.878 GB, free: 63.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/7.963, allocations: 119.6 kB / 3.878 GB, free: 63.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/7.963, allocations: 40.05 kB / 3.879 GB, free: 63.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/7.963, allocations: 4 kB / 3.879 GB, free: 63.41 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00144/7.964, allocations: 1.064 MB / 3.88 GB, free: 62.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/7.964, allocations: 12.45 kB / 3.88 GB, free: 62.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001814/7.964, allocations: 72.83 kB / 3.88 GB, free: 62.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/7.965, allocations: 171.8 kB / 3.88 GB, free: 62.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/7.966, allocations: 1.72 MB / 3.882 GB, free: 60.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/7.968, allocations: 115.7 kB / 3.882 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/7.968, allocations: 28.05 kB / 3.882 GB, free: 60.11 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000257/7.968, allocations: 132.7 kB / 3.882 GB, free: 59.97 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/7.969, allocations: 106.7 kB / 3.882 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/7.97, allocations: 1.159 MB / 3.883 GB, free: 58.69 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/7.97, allocations: 8 kB / 3.883 GB, free: 58.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/7.97, allocations: 4 kB / 3.883 GB, free: 58.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/7.971, allocations: 1.232 MB / 3.884 GB, free: 57.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/7.975, allocations: 2.645 MB / 3.887 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/7.975, allocations: 4 kB / 3.887 GB, free: 54.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/7.976, allocations: 219.7 kB / 3.887 GB, free: 54.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/7.977, allocations: 73.06 kB / 3.887 GB, free: 54.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/7.977, allocations: 12 kB / 3.887 GB, free: 54.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/7.978, allocations: 2.904 MB / 3.89 GB, free: 51.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/7.978, allocations: 4.188 kB / 3.89 GB, free: 51.29 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002079/7.98, allocations: 1.925 MB / 3.892 GB, free: 49.27 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002918/7.983, allocations: 3.079 MB / 3.895 GB, free: 46.09 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/7.984, allocations: 323.7 kB / 3.895 GB, free: 45.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/7.984, allocations: 15.98 kB / 3.895 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/7.985, allocations: 87.75 kB / 3.895 GB, free: 45.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/7.985, allocations: 44.5 kB / 3.895 GB, free: 45.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/7.985, allocations: 35.97 kB / 3.895 GB, free: 45.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007627/7.986, allocations: 0.6206 MB / 3.896 GB, free: 44.94 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003957/7.99, allocations: 1.027 MB / 3.897 GB, free: 43.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00207/7.992, allocations: 1.511 MB / 3.898 GB, free: 42.35 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002896/7.995, allocations: 1.874 MB / 3.9 GB, free: 40.46 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/7.995, allocations: 0 / 3.9 GB, free: 40.46 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007648/7.996, allocations: 0.6418 MB / 3.901 GB, free: 39.81 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/7.999, allocations: 0.7129 MB / 3.902 GB, free: 39.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/8.004, allocations: 2.666 MB / 3.904 GB, free: 36.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/8.005, allocations: 1.559 MB / 3.906 GB, free: 34.78 MB / 1.151 GB Notification: Performance of SimCode: time 1.463e-06/8.005, allocations: 0 / 3.906 GB, free: 34.78 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)