Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 2.195/2.195, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001336, allocations: 180.6 kB / 490.8 MB, free: 11.24 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.556/1.556, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.14 kB / 0.9264 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3941/0.3952, allocations: 149.1 MB / 1.072 GB, free: 15.51 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9047/1.3, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/2.516, allocations: 412.7 MB / 1.615 GB, free: 223.4 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/2.516, allocations: 91.66 kB / 1.615 GB, free: 223.3 MB / 1.026 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.51/3.026, allocations: 249.5 MB / 1.858 GB, free: 5.816 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/3.026, allocations: 12 kB / 1.858 GB, free: 5.805 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/3.027, allocations: 138.5 kB / 1.859 GB, free: 5.668 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/3.05, allocations: 7.804 MB / 1.866 GB, free: 13.75 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/3.05, allocations: 27.98 kB / 1.866 GB, free: 13.72 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/3.05, allocations: 44 kB / 1.866 GB, free: 13.68 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001795/3.052, allocations: 0.6598 MB / 1.867 GB, free: 13.02 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/3.054, allocations: 0.8811 MB / 1.868 GB, free: 12.09 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/3.054, allocations: 4 kB / 1.868 GB, free: 12.09 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/3.054, allocations: 4 kB / 1.868 GB, free: 12.08 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/3.054, allocations: 20 kB / 1.868 GB, free: 12.06 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00829/3.062, allocations: 4.51 MB / 1.872 GB, free: 7.238 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/3.063, allocations: 302.5 kB / 1.873 GB, free: 6.938 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/3.063, allocations: 266.1 kB / 1.873 GB, free: 6.68 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/3.064, allocations: 437.8 kB / 1.873 GB, free: 6.16 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/3.064, allocations: 34.89 kB / 1.873 GB, free: 6.117 MB / 1.057 GB Notification: Performance of pre-optimization done (n=40): time 3.557e-06/3.064, allocations: 0 / 1.873 GB, free: 6.117 MB / 1.057 GB Notification: Performance of matching and sorting (n=40): time 0.001657/3.066, allocations: 0.5578 MB / 1.874 GB, free: 5.551 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/3.066, allocations: 55.41 kB / 1.874 GB, free: 5.484 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/3.067, allocations: 0.7975 MB / 1.875 GB, free: 4.68 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/3.067, allocations: 25.7 kB / 1.875 GB, free: 4.648 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/3.068, allocations: 382.8 kB / 1.875 GB, free: 4.27 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/3.068, allocations: 142 kB / 1.875 GB, free: 4.129 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/3.068, allocations: 4 kB / 1.875 GB, free: 4.125 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001652/3.068, allocations: 330 kB / 1.875 GB, free: 3.797 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/3.068, allocations: 213.2 kB / 1.876 GB, free: 3.586 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/3.069, allocations: 436 kB / 1.876 GB, free: 3.062 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/3.07, allocations: 321.3 kB / 1.876 GB, free: 2.75 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/3.07, allocations: 0 / 1.876 GB, free: 2.75 MB / 1.057 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001725/3.071, allocations: 0.7615 MB / 1.877 GB, free: 1.98 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001183/3.073, allocations: 2.173 MB / 1.879 GB, free: 15.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/3.073, allocations: 11.94 kB / 1.879 GB, free: 15.62 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/3.073, allocations: 52.83 kB / 1.879 GB, free: 15.57 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/3.073, allocations: 111.8 kB / 1.879 GB, free: 15.46 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000627/3.074, allocations: 0.6498 MB / 1.88 GB, free: 14.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/3.075, allocations: 87.39 kB / 1.88 GB, free: 14.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.003e-05/3.075, allocations: 31.98 kB / 1.88 GB, free: 14.67 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/3.075, allocations: 4 kB / 1.88 GB, free: 14.66 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/3.076, allocations: 0.6136 MB / 1.881 GB, free: 14.04 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/3.076, allocations: 7.938 kB / 1.881 GB, free: 14.04 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/3.077, allocations: 64.91 kB / 1.881 GB, free: 13.97 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/3.077, allocations: 107.8 kB / 1.881 GB, free: 13.86 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/3.079, allocations: 1.583 MB / 1.882 GB, free: 12.16 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009842/3.08, allocations: 79.48 kB / 1.883 GB, free: 12.08 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/3.08, allocations: 39.98 kB / 1.883 GB, free: 12.04 MB / 1.073 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.000232/3.081, allocations: 116.8 kB / 1.883 GB, free: 11.92 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/3.081, allocations: 86.97 kB / 1.883 GB, free: 11.83 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/3.082, allocations: 0.6244 MB / 1.883 GB, free: 11.2 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/3.082, allocations: 11.98 kB / 1.883 GB, free: 11.18 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/3.082, allocations: 0 / 1.883 GB, free: 11.18 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/3.083, allocations: 0.805 MB / 1.884 GB, free: 10.29 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/3.087, allocations: 1.58 MB / 1.886 GB, free: 8.637 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/3.087, allocations: 11.98 kB / 1.886 GB, free: 8.625 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/3.087, allocations: 75.89 kB / 1.886 GB, free: 8.551 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/3.087, allocations: 32.84 kB / 1.886 GB, free: 8.516 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/3.087, allocations: 7.906 kB / 1.886 GB, free: 8.508 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005171/3.088, allocations: 0.5719 MB / 1.886 GB, free: 7.91 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/3.088, allocations: 7.938 kB / 1.886 GB, free: 7.902 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001674/3.09, allocations: 0.9907 MB / 1.887 GB, free: 6.855 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002385/3.092, allocations: 1.668 MB / 1.889 GB, free: 5.125 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/3.093, allocations: 263.8 kB / 1.889 GB, free: 4.848 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/3.093, allocations: 0 / 1.889 GB, free: 4.848 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/3.094, allocations: 59.78 kB / 1.889 GB, free: 4.789 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/3.094, allocations: 27.97 kB / 1.889 GB, free: 4.762 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/3.095, allocations: 27.97 kB / 1.889 GB, free: 4.73 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.001171/3.096, allocations: 0.6162 MB / 1.89 GB, free: 4.121 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.004299/3.1, allocations: 0.6392 MB / 1.891 GB, free: 3.48 MB / 1.073 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.00114/3.101, allocations: 402 kB / 1.891 GB, free: 3.086 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001979/3.103, allocations: 0.9789 MB / 1.892 GB, free: 2.098 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/3.103, allocations: 4 kB / 1.892 GB, free: 2.094 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/3.104, allocations: 236.6 kB / 1.892 GB, free: 1.863 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/3.107, allocations: 0.5112 MB / 1.893 GB, free: 1.359 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/3.111, allocations: 1.664 MB / 1.894 GB, free: 15.65 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/3.112, allocations: 1.338 MB / 1.896 GB, free: 14.29 MB / 1.089 GB Notification: Performance of SimCode: time 1.563e-06/3.113, allocations: 0 / 1.896 GB, free: 14.29 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)