Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 183.6 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009073, allocations: 89.48 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3539/0.3549, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.5346, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.542, allocations: 393.3 MB / 1.269 GB, free: 288.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/1.542, allocations: 92.8 kB / 1.269 GB, free: 288.1 MB / 0.8698 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.4438/1.986, allocations: 236.8 MB / 1.5 GB, free: 97.26 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.986, allocations: 8 kB / 1.5 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007846/1.987, allocations: 138.5 kB / 1.5 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/2.003, allocations: 7.455 MB / 1.508 GB, free: 89.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/2.003, allocations: 24 kB / 1.508 GB, free: 89.62 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/2.003, allocations: 47.91 kB / 1.508 GB, free: 89.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001185/2.004, allocations: 0.6521 MB / 1.508 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/2.005, allocations: 0.8619 MB / 1.509 GB, free: 88.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/2.005, allocations: 11.94 kB / 1.509 GB, free: 88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.649e-05/2.005, allocations: 3.938 kB / 1.509 GB, free: 88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/2.006, allocations: 24 kB / 1.509 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0045/2.01, allocations: 4.487 MB / 1.513 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/2.01, allocations: 305 kB / 1.514 GB, free: 82.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/2.011, allocations: 257.3 kB / 1.514 GB, free: 82.65 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/2.011, allocations: 433.2 kB / 1.514 GB, free: 82.14 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/2.011, allocations: 38.89 kB / 1.514 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 2.936e-06/2.011, allocations: 0 / 1.514 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001244/2.012, allocations: 0.5575 MB / 1.515 GB, free: 81.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/2.012, allocations: 55.41 kB / 1.515 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/2.013, allocations: 0.7817 MB / 1.516 GB, free: 80.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/2.013, allocations: 25.7 kB / 1.516 GB, free: 80.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/2.014, allocations: 378.8 kB / 1.516 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/2.014, allocations: 142 kB / 1.516 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/2.014, allocations: 0 / 1.516 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/2.014, allocations: 334 kB / 1.517 GB, free: 79.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/2.014, allocations: 217.1 kB / 1.517 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/2.014, allocations: 428.1 kB / 1.517 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/2.015, allocations: 325.2 kB / 1.518 GB, free: 78.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/2.015, allocations: 0 / 1.518 GB, free: 78.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001197/2.016, allocations: 0.7483 MB / 1.518 GB, free: 78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/2.016, allocations: 2.18 MB / 1.52 GB, free: 75.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.016, allocations: 4 kB / 1.52 GB, free: 75.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/2.017, allocations: 60.11 kB / 1.521 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/2.017, allocations: 115.8 kB / 1.521 GB, free: 75.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004043/2.017, allocations: 0.642 MB / 1.521 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/2.018, allocations: 91.38 kB / 1.521 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/2.018, allocations: 28 kB / 1.521 GB, free: 74.69 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/2.018, allocations: 4 kB / 1.521 GB, free: 74.68 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009734/2.019, allocations: 0.6215 MB / 1.522 GB, free: 74.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.019, allocations: 8 kB / 1.522 GB, free: 74.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/2.02, allocations: 68.7 kB / 1.522 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/2.02, allocations: 107.8 kB / 1.522 GB, free: 73.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/2.021, allocations: 1.582 MB / 1.524 GB, free: 72.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/2.022, allocations: 79.53 kB / 1.524 GB, free: 72.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/2.022, allocations: 32 kB / 1.524 GB, free: 72.07 MB / 0.8698 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.0001986/2.022, allocations: 124.7 kB / 1.524 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/2.023, allocations: 86.88 kB / 1.524 GB, free: 71.86 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/2.024, allocations: 0.6345 MB / 1.525 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/2.024, allocations: 4 kB / 1.525 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/2.024, allocations: 0 / 1.525 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007908/2.025, allocations: 0.8155 MB / 1.525 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/2.027, allocations: 1.547 MB / 1.527 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/2.027, allocations: 3.984 kB / 1.527 GB, free: 68.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/2.028, allocations: 79.89 kB / 1.527 GB, free: 68.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-05/2.028, allocations: 28.8 kB / 1.527 GB, free: 68.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/2.028, allocations: 11.98 kB / 1.527 GB, free: 68.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002856/2.028, allocations: 0.5719 MB / 1.528 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.028, allocations: 0 / 1.528 GB, free: 67.98 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/2.029, allocations: 0.9916 MB / 1.529 GB, free: 66.93 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001485/2.031, allocations: 1.667 MB / 1.53 GB, free: 65.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/2.031, allocations: 251.9 kB / 1.53 GB, free: 64.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/2.031, allocations: 11.89 kB / 1.53 GB, free: 64.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/2.032, allocations: 59.81 kB / 1.531 GB, free: 64.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/2.032, allocations: 27.88 kB / 1.531 GB, free: 64.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/2.032, allocations: 23.98 kB / 1.531 GB, free: 64.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007785/2.033, allocations: 0.6045 MB / 1.531 GB, free: 64.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003372/2.036, allocations: 0.6392 MB / 1.532 GB, free: 63.58 MB / 0.8698 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.0008412/2.037, allocations: 400.2 kB / 1.532 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001339/2.039, allocations: 0.9732 MB / 1.533 GB, free: 62.22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.039, allocations: 0 / 1.533 GB, free: 62.22 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/2.039, allocations: 236.4 kB / 1.533 GB, free: 61.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/2.041, allocations: 0.5132 MB / 1.534 GB, free: 61.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/2.044, allocations: 1.637 MB / 1.535 GB, free: 59.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/2.044, allocations: 1.338 MB / 1.537 GB, free: 58.44 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/2.044, allocations: 0 / 1.537 GB, free: 58.44 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)