Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 189.7 kB / 7.801 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.461/0.461, allocations: 90.84 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.4 MB / 342.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 94.88 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1934/0.1945, allocations: 78.45 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.6, allocations: 72.3 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.578/4.178, allocations: 1.885 GB / 2.438 GB, free: 191.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/4.179, allocations: 90.02 kB / 2.438 GB, free: 191.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 4.708/8.886, allocations: 1.362 GB / 3.799 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/8.886, allocations: 10.28 kB / 3.799 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/8.89, allocations: 0.5318 MB / 3.8 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/8.894, allocations: 1.446 MB / 3.801 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/8.894, allocations: 132 kB / 3.801 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/8.894, allocations: 90.91 kB / 3.801 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/8.896, allocations: 1.231 MB / 3.803 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/8.898, allocations: 1.48 MB / 3.804 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/8.898, allocations: 1.969 kB / 3.804 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/8.898, allocations: 3.656 kB / 3.804 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/8.898, allocations: 58.48 kB / 3.804 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008337/8.907, allocations: 8.404 MB / 3.812 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/8.907, allocations: 0.515 MB / 3.813 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005884/8.908, allocations: 0.4948 MB / 3.813 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/8.909, allocations: 403 kB / 3.814 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/8.909, allocations: 52.08 kB / 3.814 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 3.316e-06/8.909, allocations: 3.281 kB / 3.814 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.005933/8.915, allocations: 2.666 MB / 3.816 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/8.915, allocations: 59.5 kB / 3.816 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/8.916, allocations: 0.8983 MB / 3.817 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/8.916, allocations: 29.42 kB / 3.817 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/8.916, allocations: 0.591 MB / 3.818 GB, free: 101 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/8.917, allocations: 348.3 kB / 3.818 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/8.917, allocations: 2.5 kB / 3.818 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001139/8.917, allocations: 354.3 kB / 3.819 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/8.917, allocations: 385.7 kB / 3.819 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/8.918, allocations: 0.7676 MB / 3.82 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/8.919, allocations: 0.5642 MB / 3.82 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/8.919, allocations: 3.438 kB / 3.82 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001993/8.921, allocations: 1.29 MB / 3.822 GB, free: 99.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006852/8.922, allocations: 3.639 MB / 3.825 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/8.922, allocations: 13.75 kB / 3.825 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/8.922, allocations: 17.06 kB / 3.825 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/8.923, allocations: 286.1 kB / 3.825 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/8.923, allocations: 19.48 kB / 3.825 GB, free: 96.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/8.925, allocations: 162.2 kB / 3.826 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/8.925, allocations: 59.72 kB / 3.826 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.832e-06/8.925, allocations: 3.844 kB / 3.826 GB, free: 96.21 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001614/8.927, allocations: 1.085 MB / 3.827 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/8.927, allocations: 8.875 kB / 3.827 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/8.927, allocations: 16.5 kB / 3.827 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/8.928, allocations: 288.3 kB / 3.827 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/8.928, allocations: 18.62 kB / 3.827 GB, free: 96.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/8.93, allocations: 160.6 kB / 3.827 GB, free: 96.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/8.93, allocations: 48.09 kB / 3.827 GB, free: 96.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002883/8.93, allocations: 147.8 kB / 3.827 GB, free: 96.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/8.93, allocations: 155.3 kB / 3.828 GB, free: 96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/8.932, allocations: 1.074 MB / 3.829 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/8.932, allocations: 12.91 kB / 3.829 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/8.932, allocations: 3.562 kB / 3.829 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/8.934, allocations: 1.033 MB / 3.83 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/8.938, allocations: 2.56 MB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/8.938, allocations: 3.219 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/8.939, allocations: 250.5 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/8.939, allocations: 6.969 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/8.939, allocations: 18.27 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/8.939, allocations: 3.969 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/8.939, allocations: 4.625 kB / 3.832 GB, free: 95.28 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002302/8.942, allocations: 1.776 MB / 3.834 GB, free: 94.83 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003255/8.945, allocations: 2.89 MB / 3.837 GB, free: 94.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/8.946, allocations: 329.7 kB / 3.837 GB, free: 93.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/8.946, allocations: 7.266 kB / 3.837 GB, free: 93.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/8.947, allocations: 136.9 kB / 3.837 GB, free: 93.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/8.947, allocations: 58.16 kB / 3.837 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/8.947, allocations: 43.38 kB / 3.837 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0009637/8.948, allocations: 0.6689 MB / 3.838 GB, free: 93.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005627/8.954, allocations: 1.699 MB / 3.84 GB, free: 93.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003656/8.958, allocations: 3.341 MB / 3.843 GB, free: 92.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002186/8.96, allocations: 1.617 MB / 3.845 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/8.96, allocations: 3.25 kB / 3.845 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/8.96, allocations: 483.2 kB / 3.845 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/8.964, allocations: 0.8395 MB / 3.846 GB, free: 92.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/8.969, allocations: 2.8 MB / 3.849 GB, free: 91.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/8.971, allocations: 1.628 MB / 3.85 GB, free: 91.06 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/8.971, allocations: 0 / 3.85 GB, free: 91.06 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)