Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.8 MB / 297 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 173.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.1 MB / 0.6256 GB, free: 7.461 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 88.27 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3184/0.3194, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/1.11, allocations: 116.3 MB / 0.9726 GB, free: 76.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/6.514, allocations: 2.326 GB / 3.299 GB, free: 165.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/6.515, allocations: 91.95 kB / 3.299 GB, free: 165.3 MB / 0.948 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 2.705/9.22, allocations: 0.7032 GB / 4.002 GB, free: 179 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/9.22, allocations: 9.062 kB / 4.002 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004273/9.224, allocations: 0.5091 MB / 4.002 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/9.228, allocations: 1.358 MB / 4.004 GB, free: 177.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/9.228, allocations: 36 kB / 4.004 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/9.228, allocations: 71.89 kB / 4.004 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/9.23, allocations: 1.222 MB / 4.005 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/9.232, allocations: 1.179 MB / 4.006 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/9.232, allocations: 0 / 4.006 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/9.232, allocations: 4 kB / 4.006 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/9.232, allocations: 48.77 kB / 4.006 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007355/9.24, allocations: 4.923 MB / 4.011 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/9.241, allocations: 1.029 MB / 4.012 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/9.242, allocations: 0.5941 MB / 4.013 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/9.242, allocations: 202.6 kB / 4.013 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/9.242, allocations: 43.22 kB / 4.013 GB, free: 167.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 3.106e-06/9.242, allocations: 2.656 kB / 4.013 GB, free: 167.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.005967/9.248, allocations: 2.649 MB / 4.015 GB, free: 164.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/9.248, allocations: 60.19 kB / 4.015 GB, free: 164.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/9.25, allocations: 0.7779 MB / 4.016 GB, free: 164 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/9.25, allocations: 29.7 kB / 4.016 GB, free: 164 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/9.25, allocations: 403.8 kB / 4.017 GB, free: 163.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/9.25, allocations: 291.7 kB / 4.017 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/9.25, allocations: 0 / 4.017 GB, free: 163.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/9.25, allocations: 338 kB / 4.017 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/9.251, allocations: 453.3 kB / 4.018 GB, free: 162.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/9.251, allocations: 0.6018 MB / 4.018 GB, free: 161.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/9.252, allocations: 0.569 MB / 4.019 GB, free: 161.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/9.252, allocations: 0 / 4.019 GB, free: 161.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001572/9.254, allocations: 1.229 MB / 4.02 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/9.254, allocations: 0.7939 MB / 4.021 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/9.254, allocations: 0 / 4.021 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/9.254, allocations: 68.81 kB / 4.021 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/9.255, allocations: 187.8 kB / 4.021 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/9.257, allocations: 2.906 MB / 4.024 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/9.259, allocations: 106.9 kB / 4.024 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/9.259, allocations: 40.05 kB / 4.024 GB, free: 155.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/9.259, allocations: 4 kB / 4.024 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/9.26, allocations: 1.087 MB / 4.025 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/9.26, allocations: 4 kB / 4.025 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/9.26, allocations: 68.81 kB / 4.025 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/9.261, allocations: 167.7 kB / 4.025 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/9.262, allocations: 1.719 MB / 4.027 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/9.264, allocations: 106.8 kB / 4.027 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/9.264, allocations: 24 kB / 4.027 GB, free: 152.5 MB / 0.948 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.0002286/9.264, allocations: 128.6 kB / 4.027 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/9.264, allocations: 103 kB / 4.027 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/9.266, allocations: 1.201 MB / 4.029 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/9.266, allocations: 8 kB / 4.029 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/9.266, allocations: 4 kB / 4.029 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001227/9.267, allocations: 1.265 MB / 4.03 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004018/9.271, allocations: 2.739 MB / 4.032 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/9.271, allocations: 0 / 4.032 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/9.272, allocations: 227.6 kB / 4.033 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/9.272, allocations: 72.81 kB / 4.033 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/9.272, allocations: 15.73 kB / 4.033 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/9.274, allocations: 2.904 MB / 4.036 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/9.274, allocations: 4 kB / 4.036 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002103/9.276, allocations: 2.13 MB / 4.038 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002948/9.279, allocations: 3.299 MB / 4.041 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/9.28, allocations: 331.4 kB / 4.041 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/9.28, allocations: 11.98 kB / 4.041 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/9.281, allocations: 90.41 kB / 4.041 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/9.281, allocations: 47.19 kB / 4.041 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/9.281, allocations: 35.92 kB / 4.041 GB, free: 137.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006951/9.282, allocations: 0.6124 MB / 4.042 GB, free: 136.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003723/9.286, allocations: 1.035 MB / 4.043 GB, free: 135.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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.001861/9.288, allocations: 1.537 MB / 4.044 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002725/9.29, allocations: 1.911 MB / 4.046 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/9.29, allocations: 1.641 kB / 4.046 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/9.291, allocations: 0.6688 MB / 4.047 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/9.294, allocations: 0.7094 MB / 4.048 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/9.299, allocations: 2.699 MB / 4.05 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/9.3, allocations: 1.587 MB / 4.052 GB, free: 126.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.32e-07/9.3, allocations: 0 / 4.052 GB, free: 126.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)