Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.268/2.268, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0012/0.0012, allocations: 176 kB / 490.8 MB, free: 1.977 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.587/1.587, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001652/0.001652, allocations: 98.33 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7403/0.742, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/1.082, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.333/6.415, allocations: 2.167 GB / 3.378 GB, free: 143 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/6.416, allocations: 95.34 kB / 3.378 GB, free: 142.9 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 3.027/9.443, allocations: 0.7221 GB / 4.1 GB, free: 277.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/9.443, allocations: 11.92 kB / 4.101 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/9.447, allocations: 0.5123 MB / 4.101 GB, free: 277.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/9.451, allocations: 1.41 MB / 4.102 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/9.451, allocations: 33.47 kB / 4.102 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/9.452, allocations: 65.22 kB / 4.102 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002845/9.455, allocations: 1.235 MB / 4.104 GB, free: 276.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/9.458, allocations: 1.188 MB / 4.105 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.067e-05/9.458, allocations: 4.906 kB / 4.105 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/9.458, allocations: 0.875 kB / 4.105 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.98e-05/9.458, allocations: 42.42 kB / 4.105 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009487/9.467, allocations: 5.126 MB / 4.11 GB, free: 271.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/9.469, allocations: 0.6072 MB / 4.11 GB, free: 271.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/9.47, allocations: 0.5943 MB / 4.111 GB, free: 271.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/9.47, allocations: 202.8 kB / 4.111 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/9.47, allocations: 48.33 kB / 4.111 GB, free: 271 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 4.128e-06/9.47, allocations: 3.844 kB / 4.111 GB, free: 271 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.00646/9.477, allocations: 2.666 MB / 4.114 GB, free: 269.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/9.477, allocations: 67.27 kB / 4.114 GB, free: 269.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/9.478, allocations: 0.7877 MB / 4.115 GB, free: 269.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/9.478, allocations: 29.39 kB / 4.115 GB, free: 269 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/9.478, allocations: 400.8 kB / 4.115 GB, free: 268.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/9.479, allocations: 292.2 kB / 4.115 GB, free: 268.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/9.479, allocations: 3.938 kB / 4.115 GB, free: 268.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001822/9.479, allocations: 348.5 kB / 4.116 GB, free: 268.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/9.479, allocations: 457.6 kB / 4.116 GB, free: 267.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/9.48, allocations: 0.5955 MB / 4.117 GB, free: 267.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/9.481, allocations: 0.5738 MB / 4.117 GB, free: 267.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/9.481, allocations: 0 / 4.117 GB, free: 267.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002231/9.483, allocations: 1.232 MB / 4.119 GB, free: 266.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003333/9.484, allocations: 0.7964 MB / 4.119 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/9.484, allocations: 2.25 kB / 4.119 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/9.484, allocations: 71.53 kB / 4.119 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/9.486, allocations: 190.2 kB / 4.12 GB, free: 265.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002532/9.488, allocations: 2.91 MB / 4.122 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/9.49, allocations: 114.1 kB / 4.123 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/9.49, allocations: 31.03 kB / 4.123 GB, free: 263 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/9.49, allocations: 3.438 kB / 4.123 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/9.493, allocations: 1.104 MB / 4.124 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/9.493, allocations: 3.281 kB / 4.124 GB, free: 262.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/9.493, allocations: 67.25 kB / 4.124 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/9.494, allocations: 163 kB / 4.124 GB, free: 262.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/9.496, allocations: 1.723 MB / 4.126 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/9.498, allocations: 120.8 kB / 4.126 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/9.498, allocations: 34.27 kB / 4.126 GB, free: 260.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003797/9.498, allocations: 118.9 kB / 4.126 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/9.499, allocations: 111.3 kB / 4.126 GB, free: 260.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/9.501, allocations: 1.208 MB / 4.127 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/9.501, allocations: 8.906 kB / 4.127 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/9.501, allocations: 4.812 kB / 4.127 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/9.504, allocations: 1.28 MB / 4.128 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/9.51, allocations: 2.735 MB / 4.131 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/9.51, allocations: 3.438 kB / 4.131 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/9.511, allocations: 227.5 kB / 4.131 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/9.511, allocations: 71.5 kB / 4.131 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/9.512, allocations: 17.77 kB / 4.131 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/9.514, allocations: 2.901 MB / 4.134 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/9.514, allocations: 3 kB / 4.134 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004516/9.519, allocations: 2.013 MB / 4.136 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005956/9.525, allocations: 3.186 MB / 4.139 GB, free: 251.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/9.526, allocations: 328.2 kB / 4.14 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/9.526, allocations: 11.27 kB / 4.14 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/9.528, allocations: 85.81 kB / 4.14 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/9.528, allocations: 50.69 kB / 4.14 GB, free: 251.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/9.528, allocations: 33.33 kB / 4.14 GB, free: 251.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001927/9.53, allocations: 0.6279 MB / 4.14 GB, free: 251.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006301/9.537, allocations: 1.039 MB / 4.141 GB, free: 250.2 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 (79): * Single equations (assignments): 76 * 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.002663/9.539, allocations: 1.535 MB / 4.143 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003892/9.543, allocations: 1.917 MB / 4.145 GB, free: 247.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/9.543, allocations: 3.219 kB / 4.145 GB, free: 247.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/9.544, allocations: 0.6755 MB / 4.145 GB, free: 246.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/9.548, allocations: 0.7063 MB / 4.146 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/9.554, allocations: 2.731 MB / 4.149 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/9.556, allocations: 1.6 MB / 4.15 GB, free: 241.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.323e-06/9.556, allocations: 0 / 4.15 GB, free: 241.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)