Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6912/0.6912, allocations: 141.8 MB / 149.1 MB, free: 13.14 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001063, allocations: 191.7 kB / 181.9 MB, free: 9.816 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 436 MB, free: 2.344 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009041, allocations: 95.8 kB / 0.507 GB, free: 11.05 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001685, allocations: 270.5 kB / 0.5884 GB, free: 7.887 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1865/0.1882, allocations: 89.64 MB / 0.676 GB, free: 14.15 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.6155, allocations: 82.77 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.959/4.575, allocations: 2.125 GB / 2.882 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/4.575, allocations: 99.56 kB / 2.882 GB, free: 187 MB / 0.6982 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.492/6.067, allocations: 487.3 MB / 3.358 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/6.067, allocations: 11.16 kB / 3.358 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/6.071, allocations: 0.5036 MB / 3.359 GB, free: 147 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/6.074, allocations: 1.336 MB / 3.36 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/6.074, allocations: 38.38 kB / 3.36 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/6.074, allocations: 65.31 kB / 3.36 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/6.076, allocations: 1.168 MB / 3.361 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/6.077, allocations: 1.126 MB / 3.362 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/6.077, allocations: 0 / 3.362 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/6.077, allocations: 3.812 kB / 3.362 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/6.078, allocations: 36.59 kB / 3.362 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006759/6.084, allocations: 4.8 MB / 3.367 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/6.085, allocations: 0.933 MB / 3.368 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/6.086, allocations: 0.5666 MB / 3.368 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/6.086, allocations: 203.8 kB / 3.369 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/6.086, allocations: 49.14 kB / 3.369 GB, free: 144.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/6.086, allocations: 0 / 3.369 GB, free: 144.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=81): time 0.005214/6.092, allocations: 2.543 MB / 3.371 GB, free: 143.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/6.092, allocations: 62.81 kB / 3.371 GB, free: 143.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/6.093, allocations: 0.7789 MB / 3.372 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/6.093, allocations: 28.05 kB / 3.372 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/6.093, allocations: 392.2 kB / 3.372 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/6.093, allocations: 286.5 kB / 3.373 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/6.093, allocations: 3.188 kB / 3.373 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/6.093, allocations: 334 kB / 3.373 GB, free: 143 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/6.094, allocations: 439.9 kB / 3.373 GB, free: 143 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/6.094, allocations: 0.6005 MB / 3.374 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/6.095, allocations: 0.5524 MB / 3.374 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/6.095, allocations: 0 / 3.374 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001484/6.097, allocations: 1.2 MB / 3.376 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/6.097, allocations: 1.051 MB / 3.377 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/6.097, allocations: 3.875 kB / 3.377 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/6.097, allocations: 76.92 kB / 3.377 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/6.098, allocations: 181.7 kB / 3.377 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/6.1, allocations: 2.918 MB / 3.38 GB, free: 139.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/6.101, allocations: 106.1 kB / 3.38 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/6.101, allocations: 28.78 kB / 3.38 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/6.101, allocations: 3.938 kB / 3.38 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/6.103, allocations: 1.063 MB / 3.381 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/6.103, allocations: 6.781 kB / 3.381 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/6.103, allocations: 71.86 kB / 3.381 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/6.103, allocations: 174.2 kB / 3.381 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/6.105, allocations: 1.708 MB / 3.383 GB, free: 137.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/6.106, allocations: 110 kB / 3.383 GB, free: 137.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/6.106, allocations: 33.28 kB / 3.383 GB, free: 137.8 MB / 0.6982 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.0002296/6.106, allocations: 120.8 kB / 3.383 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/6.107, allocations: 113.4 kB / 3.383 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/6.108, allocations: 1.155 MB / 3.384 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/6.108, allocations: 7.188 kB / 3.384 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/6.108, allocations: 0 / 3.384 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/6.109, allocations: 1.218 MB / 3.386 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/6.113, allocations: 2.632 MB / 3.388 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/6.114, allocations: 0 / 3.388 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/6.115, allocations: 229.3 kB / 3.388 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/6.115, allocations: 69.55 kB / 3.388 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/6.115, allocations: 15.39 kB / 3.388 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/6.117, allocations: 2.898 MB / 3.391 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/6.117, allocations: 3.719 kB / 3.391 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002192/6.119, allocations: 2.041 MB / 3.393 GB, free: 134 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003285/6.122, allocations: 3.183 MB / 3.396 GB, free: 133.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/6.123, allocations: 320.6 kB / 3.397 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/6.123, allocations: 14.38 kB / 3.397 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/6.124, allocations: 83.5 kB / 3.397 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/6.124, allocations: 52.97 kB / 3.397 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/6.124, allocations: 31.64 kB / 3.397 GB, free: 133.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007373/6.125, allocations: 0.6105 MB / 3.397 GB, free: 133 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003651/6.129, allocations: 1.018 MB / 3.398 GB, free: 133 MB / 0.6982 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 (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.001651/6.13, allocations: 1.523 MB / 3.4 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002515/6.133, allocations: 1.86 MB / 3.402 GB, free: 132.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.133, allocations: 3.375 kB / 3.402 GB, free: 132.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/6.134, allocations: 0.6454 MB / 3.402 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/6.137, allocations: 0.7136 MB / 3.403 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/6.142, allocations: 2.625 MB / 3.406 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/6.143, allocations: 1.545 MB / 3.407 GB, free: 131 MB / 0.6982 GB Notification: Performance of SimCode: time 5.21e-07/6.143, allocations: 3.156 kB / 3.407 GB, free: 131 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)