Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.7251/0.7251, allocations: 141.8 MB / 149.1 MB, free: 10.89 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.001019/0.001019, allocations: 173.1 kB / 181.9 MB, free: 7.73 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.29/1.29, allocations: 221.4 MB / 436 MB, free: 15.87 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.25 kB / 0.507 GB, free: 8.945 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 281.3 kB / 0.5885 GB, free: 5.758 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4048/0.4066, allocations: 89.63 MB / 0.676 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.563, allocations: 82.78 MB / 0.7568 GB, free: 115.3 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6401/1.203, allocations: 371.1 MB / 1.119 GB, free: 5.93 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.203, allocations: 99.11 kB / 1.119 GB, free: 5.879 MB / 0.6825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.8361/2.04, allocations: 247.7 MB / 1.361 GB, free: 49.86 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/2.04, allocations: 12 kB / 1.361 GB, free: 49.85 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/2.04, allocations: 138.5 kB / 1.361 GB, free: 49.71 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/2.057, allocations: 7.78 MB / 1.369 GB, free: 41.82 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/2.058, allocations: 24 kB / 1.369 GB, free: 41.79 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/2.058, allocations: 48 kB / 1.369 GB, free: 41.75 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/2.059, allocations: 0.6559 MB / 1.37 GB, free: 41.09 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/2.06, allocations: 0.8732 MB / 1.371 GB, free: 40.17 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/2.061, allocations: 7.938 kB / 1.371 GB, free: 40.16 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/2.061, allocations: 3.984 kB / 1.371 GB, free: 40.16 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/2.061, allocations: 27.89 kB / 1.371 GB, free: 40.13 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/2.066, allocations: 4.498 MB / 1.375 GB, free: 35.32 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/2.067, allocations: 309.3 kB / 1.375 GB, free: 35.02 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/2.067, allocations: 257.4 kB / 1.376 GB, free: 34.76 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/2.067, allocations: 429.8 kB / 1.376 GB, free: 34.25 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/2.067, allocations: 42.89 kB / 1.376 GB, free: 34.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/2.067, allocations: 0 / 1.376 GB, free: 34.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40): time 0.001304/2.069, allocations: 0.5501 MB / 1.377 GB, free: 33.64 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/2.069, allocations: 55.41 kB / 1.377 GB, free: 33.57 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/2.07, allocations: 0.7817 MB / 1.377 GB, free: 32.79 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/2.07, allocations: 25.7 kB / 1.377 GB, free: 32.75 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/2.07, allocations: 386.8 kB / 1.378 GB, free: 32.37 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/2.07, allocations: 141.9 kB / 1.378 GB, free: 32.23 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/2.07, allocations: 0 / 1.378 GB, free: 32.23 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.413e-05/2.07, allocations: 330 kB / 1.378 GB, free: 31.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/2.07, allocations: 213.2 kB / 1.378 GB, free: 31.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/2.071, allocations: 436 kB / 1.379 GB, free: 31.17 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/2.071, allocations: 317.3 kB / 1.379 GB, free: 30.86 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/2.071, allocations: 4 kB / 1.379 GB, free: 30.86 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001262/2.073, allocations: 0.7639 MB / 1.38 GB, free: 30.09 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.000409/2.073, allocations: 2.175 MB / 1.382 GB, free: 27.74 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/2.073, allocations: 8 kB / 1.382 GB, free: 27.73 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/2.073, allocations: 60.81 kB / 1.382 GB, free: 27.67 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/2.074, allocations: 111.8 kB / 1.382 GB, free: 27.56 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004521/2.074, allocations: 0.6382 MB / 1.383 GB, free: 26.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/2.075, allocations: 91.38 kB / 1.383 GB, free: 26.81 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/2.075, allocations: 39.92 kB / 1.383 GB, free: 26.77 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/2.075, allocations: 4 kB / 1.383 GB, free: 26.77 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009695/2.076, allocations: 0.6174 MB / 1.383 GB, free: 26.14 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/2.076, allocations: 4 kB / 1.383 GB, free: 26.14 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/2.076, allocations: 56.83 kB / 1.384 GB, free: 26.08 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/2.076, allocations: 115.8 kB / 1.384 GB, free: 25.97 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/2.078, allocations: 1.579 MB / 1.385 GB, free: 24.27 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/2.079, allocations: 83.47 kB / 1.385 GB, free: 24.19 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/2.079, allocations: 28 kB / 1.385 GB, free: 24.16 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001765/2.079, allocations: 128.7 kB / 1.385 GB, free: 24.03 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/2.079, allocations: 90.91 kB / 1.386 GB, free: 23.94 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/2.08, allocations: 0.6267 MB / 1.386 GB, free: 23.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/2.08, allocations: 4 kB / 1.386 GB, free: 23.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/2.08, allocations: 0 / 1.386 GB, free: 23.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007598/2.081, allocations: 0.8085 MB / 1.387 GB, free: 22.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/2.083, allocations: 1.565 MB / 1.388 GB, free: 20.76 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/2.083, allocations: 0 / 1.388 GB, free: 20.76 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/2.084, allocations: 79.89 kB / 1.389 GB, free: 20.68 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/2.084, allocations: 32.97 kB / 1.389 GB, free: 20.65 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/2.084, allocations: 4 kB / 1.389 GB, free: 20.64 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002711/2.084, allocations: 0.5719 MB / 1.389 GB, free: 20.05 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/2.084, allocations: 4 kB / 1.389 GB, free: 20.04 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001163/2.085, allocations: 0.987 MB / 1.39 GB, free: 19 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00157/2.087, allocations: 1.678 MB / 1.392 GB, free: 17.26 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/2.088, allocations: 263.8 kB / 1.392 GB, free: 16.98 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/2.088, allocations: 4 kB / 1.392 GB, free: 16.98 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/2.088, allocations: 59.84 kB / 1.392 GB, free: 16.92 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/2.088, allocations: 23.95 kB / 1.392 GB, free: 16.89 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/2.088, allocations: 23.98 kB / 1.392 GB, free: 16.87 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007203/2.089, allocations: 0.6084 MB / 1.393 GB, free: 16.27 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003434/2.093, allocations: 0.6392 MB / 1.393 GB, free: 15.63 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009222/2.094, allocations: 398.2 kB / 1.394 GB, free: 15.24 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001478/2.095, allocations: 0.9717 MB / 1.395 GB, free: 14.26 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/2.095, allocations: 0 / 1.395 GB, free: 14.26 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/2.095, allocations: 243.7 kB / 1.395 GB, free: 14.02 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/2.098, allocations: 0.5206 MB / 1.395 GB, free: 13.51 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/2.101, allocations: 1.641 MB / 1.397 GB, free: 11.83 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000916/2.102, allocations: 1.334 MB / 1.398 GB, free: 10.46 MB / 0.6982 GB Notification: Performance of SimCode: time 6.01e-07/2.102, allocations: 0 / 1.398 GB, free: 10.46 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)