Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.437/2.437, allocations: 284.8 MB / 292.1 MB, free: 1.113 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 184.5 kB / 360.3 MB, free: 15.55 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.1 MB / 0.6187 GB, free: 6.473 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 90.36 kB / 0.7317 GB, free: 46.94 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2839/0.2852, allocations: 121.4 MB / 0.8502 GB, free: 13.41 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/1.012, allocations: 115.2 MB / 0.9627 GB, free: 86.25 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/6.671, allocations: 2.324 GB / 3.287 GB, free: 126.5 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/6.671, allocations: 96.22 kB / 3.287 GB, free: 126.4 MB / 0.9402 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 2.166/8.837, allocations: 479.3 MB / 3.755 GB, free: 26.9 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/8.837, allocations: 8 kB / 3.755 GB, free: 26.89 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/8.843, allocations: 0.5054 MB / 3.756 GB, free: 26.39 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/8.848, allocations: 1.343 MB / 3.757 GB, free: 25 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/8.848, allocations: 32 kB / 3.757 GB, free: 24.97 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/8.848, allocations: 68 kB / 3.757 GB, free: 24.9 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003434/8.851, allocations: 1.163 MB / 3.758 GB, free: 23.74 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/8.855, allocations: 1.132 MB / 3.759 GB, free: 22.6 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/8.855, allocations: 3.938 kB / 3.759 GB, free: 22.6 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/8.855, allocations: 0 / 3.759 GB, free: 22.6 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/8.855, allocations: 49.89 kB / 3.759 GB, free: 22.55 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009882/8.865, allocations: 4.788 MB / 3.764 GB, free: 17.41 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/8.867, allocations: 0.9366 MB / 3.765 GB, free: 16.46 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/8.868, allocations: 0.5753 MB / 3.765 GB, free: 15.88 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/8.868, allocations: 206.8 kB / 3.766 GB, free: 15.64 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/8.868, allocations: 39.22 kB / 3.766 GB, free: 15.6 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=78): time 3.447e-06/8.868, allocations: 0 / 3.766 GB, free: 15.6 MB / 0.9402 GB Notification: Performance of matching and sorting (n=81): time 0.008657/8.877, allocations: 2.546 MB / 3.768 GB, free: 13 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/8.877, allocations: 60.06 kB / 3.768 GB, free: 12.92 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/8.879, allocations: 0.7705 MB / 3.769 GB, free: 12.14 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/8.879, allocations: 29.7 kB / 3.769 GB, free: 12.11 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/8.879, allocations: 391.9 kB / 3.769 GB, free: 11.72 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/8.879, allocations: 279.8 kB / 3.77 GB, free: 11.44 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/8.88, allocations: 0 / 3.77 GB, free: 11.44 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/8.88, allocations: 341.9 kB / 3.77 GB, free: 11.1 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/8.881, allocations: 433.3 kB / 3.77 GB, free: 10.68 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/8.882, allocations: 0.6078 MB / 3.771 GB, free: 10 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/8.883, allocations: 0.5509 MB / 3.771 GB, free: 9.449 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/8.883, allocations: 4 kB / 3.771 GB, free: 9.445 MB / 0.9402 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00297/8.886, allocations: 1.197 MB / 3.773 GB, free: 8.238 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/8.886, allocations: 1.054 MB / 3.774 GB, free: 7.105 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/8.886, allocations: 4 kB / 3.774 GB, free: 7.102 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/8.887, allocations: 68.81 kB / 3.774 GB, free: 7.031 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/8.889, allocations: 199.6 kB / 3.774 GB, free: 6.836 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/8.892, allocations: 2.908 MB / 3.777 GB, free: 3.766 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/8.895, allocations: 107.7 kB / 3.777 GB, free: 3.66 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/8.895, allocations: 24.06 kB / 3.777 GB, free: 3.637 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/8.895, allocations: 6.5 kB / 3.777 GB, free: 3.633 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002647/8.898, allocations: 1.075 MB / 3.778 GB, free: 2.551 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/8.898, allocations: 0 / 3.778 GB, free: 2.551 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/8.898, allocations: 72.75 kB / 3.778 GB, free: 2.477 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/8.9, allocations: 163.8 kB / 3.778 GB, free: 2.316 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/8.902, allocations: 1.724 MB / 3.78 GB, free: 488 kB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/8.905, allocations: 107.6 kB / 3.78 GB, free: 380 kB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/8.905, allocations: 28.06 kB / 3.78 GB, free: 352 kB / 0.9402 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.0004888/8.905, allocations: 128.7 kB / 3.78 GB, free: 216 kB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005504/8.906, allocations: 106.8 kB / 3.78 GB, free: 108 kB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3989/9.305, allocations: 1.143 MB / 3.781 GB, free: 296.5 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/9.305, allocations: 7.812 kB / 3.781 GB, free: 296.5 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/9.305, allocations: 7.375 kB / 3.781 GB, free: 296.5 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002384/9.307, allocations: 1.222 MB / 3.783 GB, free: 296.2 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/9.314, allocations: 2.623 MB / 3.785 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/9.314, allocations: 5.281 kB / 3.785 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/9.316, allocations: 222.2 kB / 3.785 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/9.317, allocations: 74.8 kB / 3.785 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/9.317, allocations: 13.48 kB / 3.785 GB, free: 295.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/9.319, allocations: 2.904 MB / 3.788 GB, free: 293.4 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.068e-06/9.32, allocations: 4.281 kB / 3.788 GB, free: 293.4 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004056/9.324, allocations: 2.03 MB / 3.79 GB, free: 293.1 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005751/9.329, allocations: 3.188 MB / 3.793 GB, free: 292.3 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/9.331, allocations: 322.8 kB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/9.331, allocations: 11.38 kB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/9.333, allocations: 87.77 kB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/9.333, allocations: 45.3 kB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/9.333, allocations: 36.75 kB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.001164/9.334, allocations: 0.6117 MB / 3.794 GB, free: 292.2 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.006145/9.34, allocations: 1.023 MB / 3.795 GB, free: 292.2 MB / 0.9402 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.0025/9.343, allocations: 1.512 MB / 3.797 GB, free: 291.8 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.004589/9.348, allocations: 1.858 MB / 3.799 GB, free: 291.6 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/9.348, allocations: 0 / 3.799 GB, free: 291.6 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/9.349, allocations: 0.6517 MB / 3.799 GB, free: 291.5 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006437/9.356, allocations: 0.6982 MB / 3.8 GB, free: 291.5 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/9.362, allocations: 2.634 MB / 3.803 GB, free: 291 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/9.364, allocations: 1.546 MB / 3.804 GB, free: 290.3 MB / 0.9402 GB Notification: Performance of SimCode: time 1.864e-06/9.364, allocations: 0 / 3.804 GB, free: 290.3 MB / 0.9402 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)